import deepline from 'deepline'; export const config = { description: 'Look up company', compatibility: { authoringContract: 'explicit-freshness' }, }; export default async function ({ domain }: { domain: string }) { const result = await deepline.tools.execute({ id: 'company_lookup', tool: 'test_rate_limit', input: { key: domain }, description: 'Check that the company lookup path can run for this domain.', staleAfterSeconds: 0, }); return { domain, lookupStatus: result.status }; }