SAMPLE · FICTIONAL SYSTEM · Brookhaven CRM API, as set up for the AI agent Base URL: https://crm.brookhaven.example/api The agent's API key has these scopes only: contacts:read, deals:read, tasks:write Amounts are in GBP. GET /contacts?stage={stage}&last_order_before={date} Search contacts. Scope contacts:read GET /contacts/{contact_id} One contact with their order history. Scope contacts:read GET /deals?contact_id={contact_id} Open deals for a contact. Scope deals:read POST /tasks Create a task for a team member. Scope tasks:write Body: { "assignee": "Leo", "title": "text", "contact_ids": ["C-1001"], "due_date": "YYYY-MM-DD" } PATCH /contacts/{contact_id} Update a contact. Scope contacts:write (not granted) DELETE /contacts/{contact_id} Delete a contact. Scope contacts:admin (not granted) POST /emails/send Send an email to contacts. Scope emails:send (not granted)