---
title: "API reference | Keystone"
description: "Headless REST API, OpenAPI 3.1 schema, and signed outbound webhooks for Keystone."
url: https://keystonecloud.ai/docs/api
---

Headless REST API and signed webhooks

# Build any front end on Keystone

Run every Keystone tool over HTTPS with a personal token, keep the same approvals and tenant boundaries as MCP, and receive signed event deliveries in real time.

[Get an API token](https://keystonecloud.ai/signin) [OpenAPI 3.1 JSON](https://keystonecloud.ai/v1/openapi.json)

Tools over REST651  
Event types13  
Burst limit300/min  
Webhook signingHMAC-SHA256

## One endpoint for every tool

Post JSON arguments to `/v1/tools/:name` with your personal token. Workspace isolation, permissions, rate limits and audit logs run through the exact same runner as MCP.

### Authentication and workspace scope

Mint a personal token starting with `ks_` in [Developers](https://keystonecloud.ai/app/developers) and send it in the `Authorization: Bearer` header. Tenancy always comes from the token.

To target a specific client workspace on an agency account, include `workspace` (slug or id) in the JSON body or pass the `X-Keystone-Workspace` header.

```
curl -X POST https://keystonecloud.ai/v1/tools/crm_create_contact \
  -H "Authorization: Bearer ks_your_personal_token" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Sarah",
    "last_name": "Miller",
    "email": "sarah.miller@example.com",
    "phone": "+15555550142"
  }'
```

### Human approvals stay intact

Tools that send messages, spend money or delete data check the workspace approval rules. When human approval is needed, Keystone returns HTTP `202` with the exact `needs_approval` payload MCP returns.

Send `approve_url` to an owner or admin, then post the same request again with `approval_id`.

```
{
  "status": "needs_approval",
  "tool": "sms_send",
  "approval_id": "apr_9f3c2a1b4d8e7f6a5b4c3d2e.sig",
  "approve_url": "https://keystonecloud.ai/app/approvals/apr_9f3c2a1b4d8e7f6a5b4c3d2e",
  "expires_at": "<30 minutes from request>",
  "action": "Send SMS to +15555550142",
  "amount": "$0.01",
  "target": "+15555550142",
  "workspace": "Harbor Point Dental"
}
```

## Signed outbound webhooks

Subscribe any public HTTPS endpoint to workspace events. Keystone signs every request with HMAC-SHA256 over `timestamp.body`, retries with backoff, and emails account owners if an endpoint disables after repeated failures.

### Subscribe over REST or MCP

Call `POST /v1/webhooks` (or the `webhook_subscribe` MCP tool) with a public HTTPS URL and event list. Keystone returns `signing_secret` once.

```
curl -X POST https://keystonecloud.ai/v1/webhooks \
  -H "Authorization: Bearer ks_your_personal_token" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://yourapp.com/hooks/keystone",
    "events": ["contact.created", "booking.created", "payment.received"]
  }'
```

`X-Keystone-Timestamp`Unix timestamp in seconds  
`X-Keystone-Signature``v1=<hex HMAC-SHA256 of timestamp.body>`  
`X-Keystone-Event`Canonical event name (for example `contact.created`)  
`X-Keystone-Delivery`Unique delivery id for idempotency

### Verify every delivery

Compare the hex digest in constant time and reject timestamps older than five minutes. Failed deliveries retry after 30 seconds, 2 minutes, 10 minutes and 1 hour.

```
import { createHmac, timingSafeEqual } from 'node:crypto';

export function verifyKeystoneWebhook(secret: string, headers: Headers, rawBody: string): boolean {
  const ts = headers.get('x-keystone-timestamp') ?? '';
  const sig = headers.get('x-keystone-signature') ?? '';
  const offered = sig.replace(/^v1=/, '');
  if (!ts || !offered) return false;
  if (Math.abs(Date.now() - Number(ts) * 1000) > 5 * 60_000) return false;
  const expected = createHmac('sha256', secret).update(`${ts}.${rawBody}`).digest('hex');
  const a = Buffer.from(offered);
  const b = Buffer.from(expected);
  return a.length === b.length && timingSafeEqual(a, b);
}
```

### Subscribable events

- `contact.created`**New contact** A new contact is created in your workspace CRM.
- `lead.created`**New lead in the CRM** A new contact lands in ServiceLine CRM or HubSpot.
- `email.received`**New email that matches a rule** A Gmail message from a sender or with words you choose.
- `form.submitted`**New form submission** Someone fills in one of your Keystone lead forms.
- `call.missed`**Missed call** A call to a Keystone number ends with nobody picking up.
- `message.received`**Customer texted or emailed** A text to your Keystone number or an email to your front door address.
- `message.replied`**Customer replied** Someone you texted or emailed writes back.
- `review.received`**New Google review** A new review shows up on your Google Business Profile.
- `payment.received`**Payment received** A customer pays in Stripe, QuickBooks or a Keystone deal room.
- `invoice.overdue`**Invoice overdue** An open invoice passes its due date.
- `booking.created`**New booking** A new appointment in Google Calendar, Calendly or your Keystone booking page.
- `booking.canceled`**Booking canceled** An appointment gets canceled.
- `webhook.received`**Another app sends an update** Any app that can send a signed update to a Keystone link.

### Webhook REST endpoints

**GET `/v1/webhooks` List outbound webhooks Read**

Lists outbound webhook subscriptions in the active workspace (or the workspace query parameter) and all subscribable event types.

No input fields required.

**POST `/v1/webhooks` Subscribe an outbound webhook Write**

Creates a signed outbound webhook subscription for one or more trigger-bus events. Returns the signing secret once.

`url`stringRequiredPublic HTTPS URL that receives signed POST deliveries.  
`events`"*" | "contact.created" | "lead.created" | "email.received" | ...[]RequiredEvent types to receive, or ["*"] for all events.  
`name`stringShort label for this endpoint.  
`workspace`stringWorkspace slug or id. Defaults to your active workspace.

**GET `/v1/webhooks/deliveries` List webhook deliveries Read**

Reads recent outbound webhook deliveries in the workspace, including status, HTTP response code, attempts and timing.

No input fields required.

**PATCH `/v1/webhooks/{id}` Update an outbound webhook Write**

Re-enables or disables an endpoint, updates its URL, name or events, or rotates its signing secret.

`name`string  
`url`string  
`events`"*" | "contact.created" | "lead.created" | "email.received" | ...[]  
`status`"active" | "disabled"  
`rotate_secret`boolean  
`workspace`string

**DELETE `/v1/webhooks/{id}` Unsubscribe an outbound webhook Destructive**

Removes a webhook endpoint and stops future deliveries to it.

No input fields required.

**GET `/v1/webhooks/{id}/deliveries` List deliveries for one webhook Read**

Returns recent delivery attempts for one webhook endpoint.

No input fields required.

## Generated tool reference

Rendered straight from [/v1/openapi.json](https://keystonecloud.ai/v1/openapi.json). Open any module below or filter by tool name to inspect its JSON input schema.

[Raw OpenAPI JSON](https://keystonecloud.ai/v1/openapi.json)

651 tools across 18 modules

**Core12 endpoints**

**POST `/v1/tools/whoami` Whoami Read**

Returns the signed-in user, billing account, plan, trial days left, active workspace, connected apps, and suggested apps to connect next. Call this first.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/approvals_list` Approvals list Read**

Read pending content, review replies, follow-up programs, budget changes and playbook proposals for the selected workspace, oldest first. Use the corresponding decision tool after reviewing the exact action.

`type`"Content" | "Review reply" | "Playbook" | "Budget" | ...  
`status`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workspaces_list` Workspaces list Read**

Lists every active workspace in your account and marks which workspace is currently active.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workspace_use` Workspace use Write**

Save the default workspace for this signed-in user and account across dashboard and AI sessions until changed. An explicit workspace overrides it for one call.

`workspace`stringRequiredWorkspace slug or id from workspaces_list.

**POST `/v1/tools/workspace_create` Workspace create Write**

Creates a new business or client workspace inside your account (subject to your plan workspace limit).

`name`stringRequiredBusiness or client name.  
`website`stringWebsite URL for the business.  
`activate`booleanSwitch to the new workspace immediately (default true).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/connections_list` Connections list Read**

List apps for the explicit workspace, or the saved user and account default when omitted, and show how many more can be connected per category. Pass category (seo, ads, analytics, local, crm, field_service, accounting, social, email_sms, content, productivity, dev, other) or search to list the apps you can connect, then call connect with a slug.

`category`stringCategory to list, such as seo, ads, analytics or crm.  
`search`stringWords to find an app by name, such as "meta ads" or "quickbooks".  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/connect` Connect Write**

Return a connection link for the explicit workspace, or the saved user and account default until changed. Never ask the user for passwords or API keys in chat.

`slug`stringRequiredApp slug from connections_list, such as google_search_console, google_analytics, or hubspot.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_dream_setup` Redshift dream setup Approval gated**

Set up Redshift Dreaming, overnight memory for one workspace. preview true shows the cost and nothing changes. on true turns it on after owner or admin approval. It consolidates memory, drafts suggested skills, proposes instruction changes, prepares tomorrow and writes a cited dream journal around 2 AM in the workspace time zone. Billed from the wallet and stopped by a nightly cap. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`preview`boolean  
`on`boolean  
`nightly_cap_cents`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_dream_run` Redshift dream run Approval gated**

Run Redshift Dreaming now for this workspace. It uses the approved nightly cap, skips quiet nights unless force is true, and returns what each pass did, what it cost, and where the journal is. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`force`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_dream_journal` Redshift dream journal Read**

Read the latest dream journal for this workspace: memory learned, merged or expired, suggested skills, proposed instruction changes, the Ready for tomorrow brief, cost and citations. Redshift agents should read this at the start of the day.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_dream_apply` Redshift dream apply Approval gated**

Approve or dismiss one Dreaming suggestion. approve true approves a suggested skill through the exact skill review, or applies an instruction diff to that Redshift agent. approve false dismisses it. This is approval-gated; Dreaming never applies either silently. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`proposal`stringRequired  
`approve`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/plan_preview` Plan preview Read**

Preview intended Keystone tool calls before acting. Returns a plain-English summary, risk level, approval need, argument validation, workspace and wallet cost estimate where one is exposed. It never runs the listed tools.

`calls`object[]RequiredThe intended tool calls, in the order they would run.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Workspace setup and connecting apps40 endpoints**

**POST `/v1/tools/setup_kit_plan` Setup kit plan Write**

Draft a business launch for owner review. Quotes domain registration and phone rental, writes four pages, and saves the plan without making purchases.

`registrant`objectRequired  
`business`stringRequired  
`city`stringRequired  
`description`stringRequired  
`site_copy`objectWrite the four page drafts from the request and publishable workspace facts for the owner to review.  
`domain`string  
`analytics_property`stringAnalytics property bound to this workspace.  
`email_mode`"mailbox" | "forward"Mailbox holds the latest 50 messages up to 64 KB each. Forwarding requires a verified destination.  
`crm_form_url`stringPublished form link from the included ServiceLine CRM account. Submissions go directly to that account.  
`forwarding_number`string  
`public_memory_ids`string[]Workspace facts the owner wants published.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/setup_kit_start` Setup kit start Approval gated**

Start the saved launch plan and queue purchases at the reviewed total in USD micros. Keystone asks the owner to approve that total before anything is bought. Repeat with the same id to resume a job that needs attention. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`id`stringRequired  
`approved`booleanDeprecated. Ignored; the owner approves through Keystone.  
`totalMicros`integerRequired  
`finish_connections`booleanRecheck owner connections after launch without repeating purchases.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/setup_kit_status` Setup kit status Read**

Read the saved plan, completed launch steps, links and outstanding owner actions for this workspace.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/triggers_catalog` Triggers catalog Read**

What triggers can listen for and what they can do: event types with their sources and costs, the ready-made recipes, and the agents a trigger can wake. Read this before trigger_create.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/triggers_list` Triggers list Read**

The triggers in this workspace with their status, what starts them, what they do and when they last fired.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/trigger_create` Trigger create Write**

Make a trigger: when an event happens in this workspace's apps, run tool steps, wake an agent or run a saved playbook with the event as input. Easiest: pass a recipe (new_lead_text, low_review, cancel_waitlist, payment_thanks) and optionally change event, source or filters. App sources (Gmail, Stripe, Google Calendar, Calendly) must be connected first. A webhook trigger returns its link and signing secret once.

`recipe`stringA recipe key from triggers_catalog.  
`name`string  
`event`"contact.created" | "lead.created" | "email.received" | "form.submitted" | ...  
`source`"keystone" | "hubspot" | "gmail" | "stripe" | ...  
`filters`objectextra. text matches any field; from and subject are for email; stars for reviews; min_amount in dollars; form is a form id or slug.  
`action`objectWhat happens. Leave out when you pass a recipe.  
`hourly_cap`integerMost runs an hour. Default 30.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/trigger_update` Trigger update Write**

Change a trigger: pause or turn it on (status), rename it, change filters, action or hourly cap. For webhook triggers, paste the sending app's own signing secret (webhook_secret) or make a new one (rotate_secret).

`trigger_id`stringRequired  
`status`"on" | "paused"  
`name`string  
`filters`objectextra. text matches any field; from and subject are for email; stars for reviews; min_amount in dollars; form is a form id or slug.  
`action`objectWhat happens. Leave out when you pass a recipe.  
`hourly_cap`integer  
`webhook_secret`string  
`rotate_secret`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/trigger_delete` Trigger delete Destructive**

Remove a trigger and its run history. Its app subscription is removed too.

`trigger_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/trigger_runs` Trigger runs Read**

Recent runs of this workspace's triggers (or one trigger): the event that started each, what each step did, and any error.

`trigger_id`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/trigger_test` Trigger test Write**

Try a trigger with a sample event (or one you pass). dry_run (default true) shows the exact steps and arguments it would run without running them. dry_run false runs it for real, so texts and emails go out.

`trigger_id`stringRequired  
`dry_run`boolean  
`sample`objectEvent fields to use, like {"name":"Sarah Miller","phone":"+15555550142"}.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/webhook_subscribe` Webhook subscribe Write**

Subscribe a public HTTPS endpoint to workspace events (contact.created, lead.created, booking.created, payment.received, message.received, form.submitted, call.missed, review.received, invoice.overdue, booking.canceled, email.received, webhook.received, or "*" for all events). Returns the signing secret once. Keystone signs every delivery with HMAC-SHA256 over "<timestamp>.<body>" in X-Keystone-Signature: v1=<hex> and X-Keystone-Timestamp.

`url`stringRequiredPublic HTTPS endpoint that receives signed POST deliveries.  
`events`"*" | "contact.created" | "lead.created" | "email.received" | ...[]RequiredEvent types to receive, or ["*"] for all events.  
`name`stringShort label for this endpoint.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/webhook_unsubscribe` Webhook unsubscribe Destructive**

Remove an outbound webhook subscription and stop event deliveries to its endpoint.

`webhook_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/webhooks_list` Webhooks list Read**

List outbound webhook endpoints in this workspace, their subscribed events, status and last delivery code, plus all available event types.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/webhook_update` Webhook update Write**

Update an outbound webhook endpoint: re-enable or disable it, rename it, change its URL or subscribed events, or rotate its signing secret.

`webhook_id`stringRequired  
`name`string  
`url`string  
`events`"*" | "contact.created" | "lead.created" | "email.received" | ...[]  
`status`"active" | "disabled"  
`rotate_secret`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/webhook_deliveries` Webhook deliveries Read**

Read recent outbound webhook deliveries in this workspace (or for one endpoint), including status, HTTP response code, attempts and errors.

`webhook_id`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/loop_create` Loop create Write**

Create a custom Loop in this workspace. A Loop has a schedule (daily, weekly, monthly, interval or five-field cron in the business time zone with flex-minute jitter), a one-time run, a heartbeat, an event or a signed webhook trigger. Its target is a Redshift agent with a goal, a saved skill, or up to eight explicit tool steps. Event Loops can coalesce bursts and use a low-cost condition before the real run.

`name`stringRequired  
`description`string  
`trigger`objectRequiredExamples: {kind:"schedule",schedule:{kind:"cron",cron:"15 9 * * 1-5",tz:"local time zone",flex_minutes:20}}, {kind:"once",run_at:1735689600000}, {kind:"event",event:"payment.received",source:"any"}, or {kind:"webhook"}.  
`target_kind`"agent" | "skill" | "steps"  
`agent`string  
`skill`string  
`task`stringThe goal the agent or skill should accomplish.  
`steps`object[]  
`tools_allowed`string[]extra allowlist of Keystone tool names the agent may use. Empty means the agent template default.  
`tier`stringModel id from redshift_agents.  
`budget_usd`numberMaximum model spend for one run, in USD. 0 uses the model tier limit.  
`quiet_on_no_update`boolean  
`condition`stringLow-cost model pre-filter for event and webhook loops, in plain English.  
`coalesce_key`stringTemplate such as {{raw.issue.id}}; events with the same key collect into one run.  
`coalesce_window_seconds`integer  
`correlation_key`string  
`hourly_cap`integer  
`daily_cap`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/loop_list` Loop list Read**

List custom Loops in this workspace with their trigger, target, budget, next run, last status and pause reason.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/loop_update` Loop update Write**

Pause, resume, or change a custom Loop. Pass only the fields to change. Schedule changes recompute the next run.

`id`stringRequired  
`enabled`boolean  
`trigger`object  
`task`string  
`condition`object  
`quiet_on_no_update`boolean  
`tier`stringModel id from redshift_agents.  
`hourly_cap`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/loop_run_now` Loop run now Write**

Start one custom Loop now through the normal queue path. Returns its run id; use loop_runs to inspect the result.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/loop_runs` Loop runs Read**

Read recent custom Loop runs in this workspace, with status, cost, pre-filter decision, summary and error.

`loop_id`string  
`status`"queued" | "running" | "done" | "quiet" | ...  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/loop_fleet_deploy` Loop fleet deploy Write**

Agency accounts only: deploy the same custom Loop definition to several workspaces in this account. Rows stay independent so one workspace cannot read or wake another.

`workspace_ids`string[]Required  
`name`stringRequired  
`description`string  
`trigger`objectRequired  
`target_kind`"agent" | "skill" | "steps"  
`agent`string  
`skill`string  
`task`string  
`tier`stringModel id from redshift_agents.  
`budget_usd`numberMaximum model spend for one run, in USD. 0 uses the model tier limit.  
`fleet_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_create` Workflow create Write**

Build a workflow: when something happens to a contact (the trigger), Keystone walks that contact through steps with waits, if/else branches and goals, like a GoHighLevel workflow. It starts turned off. Show the owner the outline this returns, then call workflow_set_status to turn it on. Steps run top to bottom, one contact at a time. Step types: text {message}, email {subject, body}, call {goal} (an AI phone call), task {title, due_in_days}, tag {add:[...], remove:[...]}, pipeline {stage_id, status, pipeline_id to add a deal}, webhook {url}, ai {prompt} (a Redshift agent does the job), loop {loop_id}, tool {tool, args} (any Keystone tool), wait {minutes} or {until_time:"09:00"} or {for_event, timeout_minutes}, branch {if:[{field, op, value}], match:"all"|"any", yes:[steps], no:[steps]} (fields: tag, email, phone, name, stars, amount, form, text, wait_result, raw.*), end. Messages use {{first_name}}, {{name}}, {{phone}}, {{email}}, {{business}}, {{starts_at}}, {{summary}}. Events: contact.created, lead.created, email.received, form.submitted, call.missed, message.received, message.replied, review.received, payment.received, invoice.overdue, booking.created, booking.canceled, webhook.received, contact.tag_added, opportunity.stage_changed, opportunity.won, opportunity.lost, appointment.booked, appointment.cancelled, contact.unsubscribed. Goals end a contact's run early when that event happens for them (for example booking.created).

`name`stringRequired  
`description`string  
`trigger`objectRequired{event, source?, filters?: {tag, stage, form, text, min_stars, max_stars, min_amount}}. Example: {event:"form.submitted", filters:{form:"contact"}}.  
`steps`object[]RequiredThe steps in order. Give each an id if you plan to edit it later.  
`goals`object[][{event, filters?, label?}]  
`allow_reenter`booleanLet a contact go through again after they finish.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_list` Workflow list Read**

List the workflows in this workspace: on or off, trigger, step count, and how many contacts are in each now, reached the goal, finished or hit errors.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_get` Workflow get Read**

Read one workflow: the full step tree with ids, the outline in plain words, goals, where contacts sit now by step, recent errors, and what did not import from GoHighLevel.

`id`stringRequiredWorkflow id from workflow_list.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_update` Workflow update Write**

Change a workflow. Pass only what changes. steps replaces the whole step tree (keep step ids so contacts already inside stay in place). edit changes one step in place: {step_id, message?, subject?, body?, goal?, minutes?, title?}. Steps run top to bottom, one contact at a time. Step types: text {message}, email {subject, body}, call {goal} (an AI phone call), task {title, due_in_days}, tag {add:[...], remove:[...]}, pipeline {stage_id, status, pipeline_id to add a deal}, webhook {url}, ai {prompt} (a Redshift agent does the job), loop {loop_id}, tool {tool, args} (any Keystone tool), wait {minutes} or {until_time:"09:00"} or {for_event, timeout_minutes}, branch {if:[{field, op, value}], match:"all"|"any", yes:[steps], no:[steps]} (fields: tag, email, phone, name, stars, amount, form, text, wait_result, raw.*), end. Messages use {{first_name}}, {{name}}, {{phone}}, {{email}}, {{business}}, {{starts_at}}, {{summary}}.

`id`stringRequiredWorkflow id from workflow_list.  
`name`string  
`description`string  
`trigger`object  
`steps`object[]  
`goals`object[]  
`allow_reenter`boolean  
`edit`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_set_status` Workflow set status Write**

Turn a workflow on or off. On: new contacts that match the trigger start right away, and contacts already inside continue. Off: nobody new starts and contacts inside pause where they are until it is on again. Show the owner the outline from workflow_get before turning it on.

`id`stringRequiredWorkflow id from workflow_list.  
`on`booleanRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_enroll` Workflow enroll Write**

Put one contact into a workflow now, as if its trigger had fired for them. Give at least a phone, an email or a CRM contact id. The workflow must be on.

`id`stringRequiredWorkflow id from workflow_list.  
`name`string  
`phone`string  
`email`string  
`contact_id`stringCRM contact id, needed for tag, task and deal steps.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_contacts` Workflow contacts Read**

Contacts in one workflow, newest activity first: where each one is, its status, errors, and the approval link when a step waits on a person.

`id`stringRequiredWorkflow id from workflow_list.  
`status`"active" | "waiting" | "held" | "done" | ...  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_history` Workflow history Read**

Everything that happened to one contact in a workflow, step by step, with the result of each step.

`enrollment_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_remove_contact` Workflow remove contact Write**

Take one contact out of a workflow now. Nothing else is sent to them from it.

`enrollment_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_import` Workflow import Write**

Import a GoHighLevel workflow from its JSON (the workflow with its triggers and actions). Keystone maps what it can, creates the workflow turned off, and lists every step and trigger it could not map with the reason. Review the list with the owner before turning it on.

`workflow_json`objectRequiredThe GHL workflow as JSON text or an object.  
`name`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workflow_delete` Workflow delete Destructive**

Delete a workflow, its contact history and its log. Contacts inside it get nothing more from it. This cannot be undone; turning it off keeps the history.

`id`stringRequiredWorkflow id from workflow_list.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/swap_scan` Swap scan Write**

Find the software this business pays for that Keystone already includes: schedulers (Calendly, Acuity), call tracking (CallRail), business phone and texting (OpenPhone, Grasshopper, SimpleTexting), review tools (Birdeye, Podium, NiceJob), form builders (Jotform, Typeform), website builders (Squarespace, Wix), rank trackers (BrightLocal, Whitespark), Zapier and Make, link-in-bio, simple CRMs, proposal tools and extra AI chat plans. Reads the receipts and card charges already in Keystone, Ramp and QuickBooks when connected, a card or bank statement CSV the person pastes, and the connected apps. Returns each vendor with its monthly cost, the charges as evidence, what replaces it in Keystone and the monthly and yearly saving after Keystone use and plan. It reads only and contacts no vendor. Agency owners and admins can pass all_clients true (or clients) to scan every client from stored data and get a rollup. Next: swap_plan.

`statement`stringA card or bank statement as CSV text with date, description and amount columns. Only matched lines are kept.  
`paying_for`"calendly" | "acuity" | "setmore" | "simplybook" | ...[]Vendor keys the person says they pay for, when there is no charge to read.  
`all_clients`booleanAgency owners and admins: scan every client workspace from stored data.  
`clients`string[]Agency: only these client workspaces (ids or slugs).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/swap_plan` Swap plan Read**

The swap plan for each vendor from the last swap_scan (or one vendor): set up the Keystone replacement, the moves Keystone can run and what each needs from the person (an export file, labels, numbers), run both side by side for 14 days, and the cancel page with its steps and catches. Shows what is already moved (always turned off) or staged. Reads only.

`vendor`"calendly" | "acuity" | "setmore" | "simplybook" | ...  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/swap_move` Swap move Write**

Run one step of a vendor swap. Moves: contacts (export CSV into a new Keystone contact list; nothing is sent), forms (a paused Lead form from field labels or the entries export header), zaps (a Zapier, Make or n8n export into paused triggers), numbers (lists numbers and the porting checklist; files and buys nothing), reviews (review requests set up and turned off), booking (booking types on a booking page that stays off), keywords, site, links, proposals (staged lists). Everything Keystone makes starts turned off until the person checks it and turns it on. part running records that the person turned the Keystone side on (Keystone also notices a moved form, trigger, review requests or booking page turned on); both then run for 14 days before cancelling. part cancel stages the vendor cancel page, steps and a Redshift Computer task that stops before the final button; Keystone never cancels. part mark_cancelled records that the person cancelled; dismiss hides a vendor; reopen brings it back.

`vendor`"calendly" | "acuity" | "setmore" | "simplybook" | ...Required  
`part`"contacts" | "forms" | "zaps" | "numbers" | ...Required  
`file`stringThe export file as text (contacts CSV, form entries CSV, automation export).  
`items`string[]Plain lines: form field labels, booking types, keywords, links, packages.  
`numbers`string[]Phone numbers to bring over.  
`template`stringThe review request message used today.  
`review_url`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/packs_list` Packs list Read**

Starter packs by kind of business (dental office, law firm, salon, gym, restaurant, real estate, online store, photographer, consultant, agency): each has ready jobs for the Keystone action bar, skills and triggers. Says which are added in this workspace and which fits it best.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/pack_add` Pack add Write**

Add a starter pack to this workspace: saves its skills to the notebook and creates its triggers paused, and its jobs appear in the Keystone action bar. Nothing runs, texts, emails or posts until the owner turns a trigger on or approves a message. Adding the same pack again changes nothing.

`pack`"dental" | "law" | "salon" | "gym" | ...RequiredThe pack: dental (Dental office), law (Law firm), salon (Salon or spa), gym (Gym or studio), restaurant (Restaurant or cafe), real_estate (Real estate agent), shop (Online store), photographer (Photographer), consultant (Consultant or coach), agency (Marketing agency).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/pack_remove` Pack remove Destructive**

Take a starter pack out of this workspace: deletes the triggers it made and the skills nobody has changed since. Skills someone edited stay.

`pack`"dental" | "law" | "salon" | "gym" | ...RequiredThe pack: dental (Dental office), law (Law firm), salon (Salon or spa), gym (Gym or studio), restaurant (Restaurant or cafe), real_estate (Real estate agent), shop (Online store), photographer (Photographer), consultant (Consultant or coach), agency (Marketing agency).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bar_jobs` Bar jobs Read**

The ready jobs in this workspace's action bar (from its starter packs, its kind of business and its saved skills), with the full instructions for each, so you can do one with Keystone tools. Messages to people still wait for the owner's approval.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/switch_from_ghl` Switch from ghl Write**

Drive a GoHighLevel agency switch into Keystone. action=start (owner or admin only) connects the authorized agency import, creates or reuses one Keystone workspace per sub-account and starts the resumable import. action=status returns live progress per sub-account. action=report returns what moved, what needs approval, and what could not move with reasons. It never sends user invites, starts phone ports or changes carrier registration automatically.

`action`"start" | "status" | "report"Requiredstart begins or resumes the agency import; status reads live progress; report reads the final or current report.  
`job_id`stringA switch job id returned by an earlier call. Defaults to the latest job for this account.  
`run_now`booleanFor start and status (owner or admin only), advance the resumable job one bounded slice before answering.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Connected apps and CRM178 endpoints**

**POST `/v1/tools/apps_search` Apps search Read**

Find app actions by plain words. Returns a short list with toolkit slugs, action slugs, risk, and which toolkits this workspace has connected.

`query`stringRequiredWhat you want to do, in plain words.  
`toolkit`stringCatalog slug, such as googleads or hubspot.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/apps_schema` Apps schema Read**

Get one action input schema before apps_run. Returns its toolkit, required input, risk, description, and connection state for this workspace.

`action`stringRequiredAction slug returned by apps_search.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/apps_run` Apps run Approval gated**

Execute a catalog action. Specify the workspace and confirm writes, sends or charges with the user. Call apps_schema first and pass its inputSchema fields in input. Results are capped at about 100 KB. Hosted actions use the shared lookup allowance.

`action`stringRequiredAction slug returned by apps_search.  
`request_id`stringFor a hosted action, generate one UUID and reuse it when retrying that call.  
`instant`booleanUse the paid, no-setup route when apps_schema marks this action ready. Pass the instantInputSchema fields.  
`input`objectRequiredArguments matching the action inputSchema.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bookkeeper_packet` Bookkeeper packet Write**

Draft a monthly packet for review and approval in the dashboard.

`period`stringRequired  
`recipient`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/receipts_collect` Receipts collect Write**

Collect receipts from Ramp, QuickBooks, Gmail, Outlook or an enrolled read-only portal tool. Set schedule to monthly to repeat for each period.

`period`stringRequired  
`source`object  
`schedule`"monthly" | "off"  
`cursor`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/receipts_match` Receipts match Write**

Match by vendor, amount, currency and date in Ramp, or specify a Ramp transaction or QuickBooks purchase or bill.

`hash`stringRequired  
`transaction_id`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/receipts_list` Receipts list Read**

List collected receipt documents and their Ramp transaction IDs.

`period`stringRequired  
`after_hash`string  
`status`"all" | "matched" | "unmatched"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/serp_google` Serp google Approval gated**

Fetch live Google organic results and compare against the Web tab to replace poisoned results. Resolve Google goto links to destination URLs. DataForSEO bills for the search and the extra Web tab check. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`keyword`stringRequired  
`location_name`string  
`language_code`string  
`depth`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/keyword_volume` Keyword volume Approval gated**

Get Google Ads search volume, CPC, and competition for up to 100 keywords. DataForSEO bills per call. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`keywords`string[]Required  
`location_name`string  
`language_code`string  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ranked_keywords` Ranked keywords Approval gated**

Get keywords a domain ranks for in Google, ordered by best position. DataForSEO bills per call. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`target`stringRequiredDomain, e.g. example.com  
`location_name`string  
`language_code`string  
`limit`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/backlinks_summary` Backlinks summary Approval gated**

Get a domain’s backlink profile, including rank, referring domains, and spam score. DataForSEO bills per call. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`target`stringRequiredDomain, e.g. example.com  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/serp_google_maps` Serp google maps Approval gated**

Get live Google Maps results for a search, from a city or from one exact point (latitude and longitude), for local rank checks and map-pack grids. Returns rank, business name, domain, rating and address. DataForSEO bills per search. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`keyword`stringRequired  
`location_name`stringCity or region, e.g. "Austin,Texas,United States". Omit when you pass latitude and longitude.  
`latitude`number  
`longitude`number  
`zoom`integer  
`language_code`string  
`depth`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/serp_google_ai_mode` Serp google AI mode Approval gated**

Get Google AI Mode's live answer for a question, with the sources it cites, to check whether a business is named or cited. DataForSEO bills per search. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`keyword`stringRequiredThe question as a buyer would ask it.  
`location_name`string  
`language_code`string  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/perplexity_answer` Perplexity answer Approval gated**

Ask Perplexity one question live and get its answer and the sources it cites, to check whether a business is named or cited. DataForSEO bills per question, including the model cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`question`stringRequired  
`model_name`"sonar" | "sonar-pro" | "sonar-reasoning" | "sonar-reasoning-pro"  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/backlinks_referring_domains` Backlinks referring domains Approval gated**

List the domains that link to a site, strongest first, to find where a competitor's links come from. DataForSEO bills per call. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`target`stringRequiredDomain, e.g. example.com  
`limit`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bing_sites` Bing sites Read**

List the sites in Bing Webmaster Tools and their verification status.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bing_site_stats` Bing site stats Read**

Get daily Bing clicks, impressions, and crawl counts for a site.

`site`stringRequiredExact site URL from bing_sites.  
`days`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bing_crawl_issues` Bing crawl issues Read**

List URLs Bing had trouble crawling, with the HTTP code, issue, and linking pages.

`site`stringRequiredExact site URL from bing_sites.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bing_list_sitemaps` Bing list sitemaps Read**

List the sitemaps Bing knows about, with crawl status and URL counts.

`site`stringRequiredExact site URL from bing_sites.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/bing_submit_sitemap` Bing submit sitemap Write**

Submit a sitemap to Bing. Use bing_list_sitemaps to check its status.

`site`stringRequiredExact site URL from bing_sites.  
`feed`stringRequiredA sitemap path or full URL on the same site.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/eddm_routes` Eddm routes Read**

List carrier routes and residential, business and total address counts for ZIP codes in an Oppizi city. Omit city_id to list available cities.

`city_id`integer  
`zips`string[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/eddm_quote` Eddm quote Write**

Price the selected carrier routes by size and total address count. Returns a Keystone quote ID and USD prices.

`routes`object[]Required  
`format`"SMALL" | "BEST_SELLER" | "LARGE" | "JUMBO" | ...Required  
`quantity`integerRequired  
`city_id`integerRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/eddm_campaign_prepare` Eddm campaign prepare Write**

Prepare a draft using a quote and artwork already uploaded to Oppizi. Omit design_id to find an uploaded design. Oppizi creates EDDM drafts in BEST_SELLER size.

`quote_id`stringRequired  
`design_id`integer  
`name`stringRequired  
`mail_date`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/eddm_campaign_submit` Eddm campaign submit Approval gated**

Submit a draft to Oppizi for review, printing and mailing at its exact quoted total. Show the customer the routes, count, total and mail date first. Keystone asks the owner to approve the total before anything is submitted. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`quote_id`stringRequired  
`approved`booleanDeprecated. Ignored; the owner approves through Keystone.  
`approved_total`numberRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/eddm_campaign_status` Eddm campaign status Read**

Check Oppizi status history, artwork and schedule for this workspace’s campaign.

`quote_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ramp_list` Ramp list Read**

List a page of Ramp transactions, bills or receipts.

`resource`"transactions" | "bills" | "receipts"Required  
`cursor`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/quickbooks_list` Quickbooks list Read**

List purchases, bills or attached documents in QuickBooks Online.

`entity`"Purchase" | "Bill" | "Attachable"Required  
`start`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_accounts` Meta ads accounts Read**

Read the Meta ad account connected to this workspace.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_campaigns` Meta ads campaigns Read**

List campaign status, objective, budgets and spend over 7 and 30 days.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_insights` Meta ads insights Read**

Read campaign performance over an inclusive date range.

`since`stringRequired  
`until`stringRequired  
`breakdowns`"age" | "gender" | "country" | "region" | ...[]  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_campaign_create` Meta ads campaign create Write**

Create a paused local traffic or instant-form lead campaign. Budget uses account minor units.

`name`stringRequired  
`objective`"traffic" | "leads"Required  
`daily_budget`integerRequired  
`latitude`numberRequired  
`longitude`numberRequired  
`radius_miles`integerRequired  
`page_id`stringRequired  
`form_id`string  
`image_url`stringRequired  
`destination_url`stringRequired  
`text`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_campaign_enable` Meta ads campaign enable Approval gated**

Enable a paused campaign and its ads at its exact current total daily budget in account minor units. Keystone asks the owner to approve that budget before anything starts. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`approved`booleanDeprecated. Ignored; the owner approves through Keystone.  
`daily_budget`integerRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_campaign_pause` Meta ads campaign pause Approval gated**

Pause delivery for a campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/meta_ads_budget_set` Meta ads budget set Approval gated**

Change an existing campaign or ad set daily budget within the workspace cap, in account minor units. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`target_id`stringRequired  
`daily_budget`integerRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/callrail_list_companies` Callrail list companies Read**

List companies in the connected CallRail account with their IDs, status, and time zone.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/callrail_call_summary` Callrail call summary Read**

Summarize CallRail calls for a window (default last 7 days): totals, first-time callers, answered, missed, voicemail, good leads, and breakdowns by source and tracking number.

`date_range`"recent" | "today" | "yesterday" | "last_7_days" | ...Preset window (default last_7_days). Ignored when start_date is given.  
`start_date`string  
`end_date`string  
`company`stringCompany name (or part) or ID; defaults to all companies.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/callrail_list_calls` Callrail list calls Read**

List CallRail calls newest first with source, campaign, keywords, caller, answered status, first-time flag, lead status and score, transcript excerpt, and recording link.

`date_range`"recent" | "today" | "yesterday" | "last_7_days" | ...Preset window (default last_7_days). Ignored when start_date is given.  
`start_date`string  
`end_date`string  
`company`stringCompany name (or part) or ID.  
`source`stringFilter to sources containing this text, such as Google Ads.  
`answer_status`"answered" | "missed" | "voicemail"  
`first_time_only`boolean  
`lead_status`"good_lead" | "not_a_lead" | "previously_marked_good_lead"  
`full_transcripts`booleanReturn full transcripts instead of short excerpts.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/callrail_get_call` Callrail get call Read**

Read one CallRail call by ID with the full transcript, lead score and explanation, source attribution, and recording link.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/callrail_list_forms` Callrail list forms Read**

List CallRail form submissions newest first with source, campaign, landing page, lead status, and submitted fields.

`date_range`"recent" | "today" | "yesterday" | "last_7_days" | ...Preset window (default last_7_days). Ignored when start_date is given.  
`start_date`string  
`end_date`string  
`company`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whatconverts_list_accounts` Whatconverts list accounts Read**

List WhatConverts accounts and their nested profiles. Requires a Master Account (agency) API key.

`start_date`string  
`end_date`string  
`accounts_per_page`integer  
`page_number`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whatconverts_list_leads` Whatconverts list leads Read**

List WhatConverts leads (calls, forms, chats, emails, transactions) with source attribution, quotable status, and values.

`account_id`integerAccount ID (when using an agency key).  
`profile_id`integerProfile ID (when using an agency key).  
`lead_type`"appointment" | "chat" | "email" | "event" | ...  
`lead_status`"repeat" | "unique"  
`quotable`"yes" | "no" | "pending" | "not_set"  
`start_date`stringStart date (YYYY-MM-DD, coordinated universal time). Defaults to today in WhatConverts.  
`end_date`stringEnd date (YYYY-MM-DD, coordinated universal time).  
`lead_source`string  
`lead_medium`string  
`lead_campaign`string  
`spam`boolean  
`duplicate`boolean  
`order`"asc" | "desc"  
`leads_per_page`integer  
`page_number`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whatconverts_get_lead` Whatconverts get lead Read**

Read one WhatConverts lead by lead ID with full attribution, contact fields, and values.

`lead_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whatconverts_lead_summary` Whatconverts lead summary Read**

Summarize WhatConverts leads for a date range: counts by lead type and marketing source, quotable leads, quote value, and sales value.

`account_id`integer  
`profile_id`integer  
`start_date`stringRequiredStart date (YYYY-MM-DD, coordinated universal time).  
`end_date`stringEnd date (YYYY-MM-DD, coordinated universal time).  
`max_leads`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctm_list_accounts` Ctm list accounts Read**

List CallTrackingMetrics accounts accessible to this workspace key.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctm_list_calls` Ctm list calls Read**

List CallTrackingMetrics calls with source attribution, caller details, duration, status, new-caller flag, and transcript excerpt.

`account_id`stringCTM account ID. Defaults to the first account on the connected key.  
`start_date`string  
`end_date`string  
`filter`stringSearch term passed to CTM filter.  
`full_transcripts`boolean  
`per_page`integer  
`page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctm_call_summary` Ctm call summary Read**

Summarize CallTrackingMetrics calls in a date range: total calls, answered, missed, new callers, talk time, and counts by source and tracking number.

`account_id`stringCTM account ID. Defaults to the first account on the connected key.  
`start_date`string  
`end_date`string  
`max_calls`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctm_list_numbers` Ctm list numbers Read**

List tracking phone numbers configured in a CallTrackingMetrics account.

`account_id`stringCTM account ID. Defaults to the first account on the connected key.  
`per_page`integer  
`page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctm_list_forms` Ctm list forms Read**

List FormReactor tracking forms configured in a CallTrackingMetrics account.

`account_id`stringCTM account ID. Defaults to the first account on the connected key.  
`per_page`integer  
`page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/brightlocal_list_locations` Brightlocal list locations Read**

List business locations in BrightLocal with address, phone, client ID, and status.

`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/brightlocal_get_location` Brightlocal get location Read**

Read one BrightLocal location profile by location ID.

`location_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/brightlocal_list_clients` Brightlocal list clients Read**

List agency clients configured in BrightLocal.

`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/brightlocal_rank_reports` Brightlocal rank reports Read**

List Local Rank Tracker (lrt) or Local Search Grid (lsg) reports in BrightLocal, or read one report by report_id.

`report_type`"lrt" | "lsg"lrt for Local Rank Tracker, lsg for Local Search Grid.  
`report_id`stringPass a report ID to fetch one report; omit to list reports.  
`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/brightlocal_reputation_reviews` Brightlocal reputation reviews Read**

List BrightLocal Reputation Manager reports, or read customer reviews from a specific Reputation Manager report.

`report_id`stringPass a Reputation Manager report ID to read its reviews; omit to list reports.  
`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whitespark_list_grids` Whitespark list grids Read**

List Whitespark Local Ranking Grids with business name, keyword, visibility score, average rank, and review score.

`page`integer  
`per_page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whitespark_get_grid` Whitespark get grid Read**

Read one Whitespark ranking grid and its recent scan runs.

`grid_id`stringRequired  
`runs_limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whitespark_get_run_points` Whitespark get run points Read**

Read one Whitespark grid scan run and every scanned map point with coordinates and business rank.

`grid_id`stringRequired  
`run_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/whitespark_get_run_competitors` Whitespark get run competitors Read**

List local map competitors detected in a Whitespark ranking grid scan run.

`grid_id`stringRequired  
`run_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/birdeye_get_business` Birdeye get business Read**

Read a Birdeye business profile, address, contact info, average rating, and review count.

`business_id`stringChild location business ID; defaults to the connected business ID.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/birdeye_list_locations` Birdeye list locations Read**

List child business locations under a parent or enterprise Birdeye business ID.

`business_id`stringChild location business ID; defaults to the connected business ID.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/birdeye_review_summary` Birdeye review summary Read**

Read aggregate Birdeye review counts and average star rating for a business location.

`business_id`stringChild location business ID; defaults to the connected business ID.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/birdeye_list_reviews` Birdeye list reviews Read**

List Birdeye customer reviews with rating, source, reviewer, review date, comment, and owner response.

`business_id`stringChild location business ID; defaults to the connected business ID.  
`from_date`stringStart date (YYYY-MM-DD).  
`to_date`stringEnd date (YYYY-MM-DD).  
`sources`string[]Filter to sources such as Google or Facebook.  
`ratings`integer[]Filter to specific star ratings (1 to 5).  
`sindex`integer  
`count`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workiz_list_jobs` Workiz list jobs Read**

List Workiz jobs with schedule, status, source, customer, address, and totals.

`start_date`stringReturn jobs on or after this date (YYYY-MM-DD).  
`only_open`booleanOnly return open jobs.  
`status`string  
`offset`integer  
`records`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workiz_get_job` Workiz get job Read**

Read one Workiz job by UUID with customer details, notes, line items, and totals.

`uuid`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workiz_list_leads` Workiz list leads Read**

List Workiz leads with source, status, contact info, and notes.

`start_date`stringReturn leads on or after this date (YYYY-MM-DD).  
`only_open`boolean  
`status`string  
`offset`integer  
`records`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workiz_list_invoices` Workiz list invoices Read**

List Workiz invoices with payment status, balances, amounts, and linked jobs and clients.

`start_date`stringReturn invoices on or after this date (YYYY-MM-DD).  
`offset`integer  
`records`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workiz_list_clients` Workiz list clients Read**

List Workiz clients with contact details and service addresses.

`offset`integer  
`records`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/fieldpulse_list_customers` Fieldpulse list customers Read**

List or search FieldPulse customers with contact info and billing address.

`search`stringSearch filter.  
`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/fieldpulse_list_jobs` Fieldpulse list jobs Read**

List or search FieldPulse jobs with schedule, status, customer ID, and assigned technicians.

`search`stringSearch filter.  
`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/fieldpulse_list_invoices` Fieldpulse list invoices Read**

List or search FieldPulse invoices with totals, balance due, status, and due date.

`search`stringSearch filter.  
`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/fieldpulse_list_estimates` Fieldpulse list estimates Read**

List or search FieldPulse estimates with customer ID, status, and totals.

`search`stringSearch filter.  
`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/companycam_list_projects` Companycam list projects Read**

List or search CompanyCam jobsite projects with address, status, and photo count.

`query`stringSearch projects by name or address.  
`page`integer  
`per_page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/companycam_get_project` Companycam get project Read**

Read one CompanyCam jobsite project by project ID.

`project_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/companycam_list_photos` Companycam list photos Read**

List CompanyCam jobsite photos across the company or for one project.

`project_id`stringPass a project ID to list only photos in that project.  
`start_time`integerUnix timestamp (seconds) lower bound.  
`end_time`integerUnix timestamp (seconds) upper bound.  
`page`integer  
`per_page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/companycam_list_users` Companycam list users Read**

List users and field technicians in the connected CompanyCam company.

`page`integer  
`per_page`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gorilladesk_list_customers` Gorilladesk list customers Read**

List GorillaDesk customers with contact info, company, status, and service locations.

`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gorilladesk_list_jobs` Gorilladesk list jobs Read**

List GorillaDesk jobs with schedule, status, customer ID, service type, and technician assignment.

`start_date`string  
`end_date`string  
`status`string  
`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gorilladesk_list_invoices` Gorilladesk list invoices Read**

List GorillaDesk invoices with customer ID, status, totals, balance due, and dates.

`status`string  
`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gorilladesk_list_estimates` Gorilladesk list estimates Read**

List GorillaDesk estimates with customer ID, status, and totals.

`page`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/permits_search` Permits search Read**

Search building permits by area or property address. Filter by work, status, dates, valuation or contractor. See coverage and source for each search.

`where`objectRequired  
`filters`object  
`limit`integerResults per page. Use zero for a free count.  
`cursor`stringPass next_cursor with the same search to fetch its next page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/property_permits` Property permits Read**

Read the recorded permit history for one property address or Mireye parcel ID, including older and undated permits.

`parcel`objectRequired  
`limit`integerResults per page. Use zero for a free count.  
`cursor`stringPass next_cursor with the same search to fetch its next page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/contractor_permits` Contractor permits Read**

Find permits for a contractor in an area by name or Mireye contractor ID.

`area`objectRequiredSearch by state and county FIPS, state and city, ZIP, point and radius in metres, or state.  
`contractor`objectRequired  
`filters`object  
`limit`integerResults per page. Use zero for a free count.  
`cursor`stringPass next_cursor with the same search to fetch its next page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/property_lookup` Property lookup Read**

Single-source building data from ATTOM: property details, owner and construction year. Include the estimated value with a separate ATTOM lookup.

`address`stringRequiredFull US street address, including city, state, and ZIP code.  
`include_valuation`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/property_sales` Property sales Read**

Read the recorded sales history for one address from ATTOM Data.

`address`stringRequiredFull US street address, including city, state, and ZIP code.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/owner_lookup` Owner lookup Read**

Find owner phone numbers, emails and mailing addresses for one property. Use BatchData for licensed business purposes. Exclude consumer eligibility and covered-person targeting. Contact data carries no consent. Check Do Not Call lists, TCPA, CAN-SPAM and applicable privacy rules, and obtain any required consent before outreach.

`address`objectRequired  
`certified_use`booleanRequiredConfirm this use complies with BatchData’s license and excludes FCRA-regulated eligibility or screening.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/property_list_build` Property list build Read**

Search property records by city, county or ZIP, with owner and valuation filters. Use BatchData for licensed business purposes. Exclude consumer eligibility and covered-person targeting.

`area`stringRequiredCity and state, county and state, or ZIP code.  
`quick_list`"absentee-owner" | "out-of-state-owner" | "owner-occupied" | "corporate-owned" | ...  
`property_type`stringBatchData property type, for example Single Family.  
`minimum_value`integer  
`maximum_value`integer  
`limit`integerProperties per page. Zero requests a count and costs one record.  
`offset`integer  
`certified_use`booleanRequiredConfirm this use complies with BatchData’s license and excludes FCRA-regulated eligibility or screening.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/parcel_lookup` Parcel lookup Read**

Parcel geometry from one provider: find US parcel boundaries and assessor attributes by street address or map point. Returns GeoJSON.

`location`objectRequired  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_create_key_event` GA4 create key event Write**

Mark a GA4 event as a key event in a bound property.

`property`stringRequired  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`event_name`stringRequired  
`counting_method`"ONCE_PER_EVENT" | "ONCE_PER_SESSION"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_list_data_streams` GA4 list data streams Read**

List the data stream IDs and display names of a bound GA4 property.

`property`stringRequired  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_list_measurement_protocol_secrets` GA4 list measurement protocol secrets Read**

List Measurement Protocol credential names for a data stream in the bound GA4 property.

`property`stringRequired  
`stream_id`stringRequired  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_create_measurement_protocol_secret` GA4 create measurement protocol secret Write**

Create a Measurement Protocol credential for a bound GA4 data stream. Use GA4 Admin to retrieve its value for the server that sends events.

`property`stringRequired  
`stream_id`stringRequired  
`display_name`stringRequired  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_create_tag` Gtm create tag Write**

Create a draft tag using a GTM template type and parameters. Supports GA4 events, Google Ads conversion tracking and website call tracking.

`container`stringRequired  
`workspace_id`stringRequired  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`entity`objectRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_create_trigger` Gtm create trigger Write**

Create a draft trigger for a custom data layer event, page view, click or form submission.

`container`stringRequired  
`workspace_id`stringRequired  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`entity`objectRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_create_variable` Gtm create variable Write**

Create a draft variable using its GTM type and parameters.

`container`stringRequired  
`workspace_id`stringRequired  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`entity`objectRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_create_version` Gtm create version Write**

Save the draft as a container version. Google replaces the source Tag Manager workspace when the version is created.

`container`stringRequired  
`workspace_id`stringRequired  
`name`stringRequired  
`notes`string  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_publish_version` Gtm publish version Write**

Publish this Tag Manager version to the live container. Its tags can start firing on sites using this container.

`container`stringRequired  
`version_id`stringRequired  
`fingerprint`string  
`dry_run`booleanCheck input and workspace binding without creating anything.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gsc_list_sites` Search Console list sites Read**

List Search Console properties bound to this workspace.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gsc_search_analytics` Search Console search analytics Read**

Get Search Console clicks, impressions, CTR, and position by query, page, country, device, or date.

`site`stringRequiredExact siteUrl from gsc_list_sites, including any sc-domain: prefix.  
`startDate`stringRequired  
`endDate`stringRequired  
`dimensions`"query" | "page" | "device" | "country" | ...[]  
`rowLimit`integer  
`filters`object[]  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gsc_inspect_url` Search Console inspect URL Read**

Check a URL’s Search Console index status, last crawl, and canonical URL.

`site`stringRequiredExact siteUrl from gsc_list_sites, including any sc-domain: prefix.  
`url`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gsc_list_sitemaps` Search Console list sitemaps Read**

List Search Console sitemaps, including the last download and error counts.

`site`stringRequiredExact siteUrl from gsc_list_sites, including any sc-domain: prefix.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_list_properties` GA4 list properties Read**

List GA4 properties bound to this workspace.

`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_run_report` GA4 run report Read**

Run a GA4 report with metrics such as sessions and activeUsers, and dimensions such as date or sessionDefaultChannelGroup.

`property`stringRequiredGA4 property ID or properties/ID from ga4_list_properties.  
`startDate`objectRequired  
`endDate`objectRequired  
`metrics`string[]Required  
`dimensions`string[]  
`limit`integer  
`orderBy`stringA selected metric or dimension. Prefix with - for descending order.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_realtime` GA4 realtime Read**

Get active GA4 users over the last 30 minutes by country and device category.

`property`stringRequiredGA4 property ID or properties/ID from ga4_list_properties.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gsc_submit_sitemap` Search Console submit sitemap Write**

Submit a sitemap for a bound Search Console site.

`site`stringRequiredExact siteUrl from gsc_list_sites, including any sc-domain: prefix.  
`sitemap`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ga4_metadata` GA4 metadata Read**

Read available dimensions and metrics for a bound GA4 property.

`property`stringRequiredGA4 property ID or properties/ID from ga4_list_properties.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_list_containers` Gtm list containers Read**

List Tag Manager containers bound to this workspace.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_list_workspaces` Gtm list workspaces Read**

List workspaces in a bound Tag Manager container.

`container`stringRequired  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_list_tags` Gtm list tags Read**

List tags in a Tag Manager workspace within a bound container.

`container`stringRequired  
`workspaceId`stringRequired  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_list_triggers` Gtm list triggers Read**

List triggers in a Tag Manager workspace within a bound container.

`container`stringRequired  
`workspaceId`stringRequired  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gtm_list_variables` Gtm list variables Read**

List variables in a Tag Manager workspace within a bound container.

`container`stringRequired  
`workspaceId`stringRequired  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_list_accounts` Business Profile list accounts Read**

List only Business Profile accounts accepted and bound to this workspace.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_list_locations` Business Profile list locations Read**

List locations from account groups or individual locations accepted and bound to this workspace.

`account`stringAccount resource name from gbp_list_accounts.  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_list_reviews` Business Profile list reviews Read**

List reviews for a location bound to this workspace. Pass nextPageToken as pageToken to continue.

`account`stringRequiredAccount resource name from gbp_list_accounts.  
`location`stringRequiredLocation resource name from gbp_list_locations.  
`pageToken`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_reply_to_review` Business Profile reply to review Approval gated**

Publish a public reply for a review at a Business Profile location bound to this workspace. Replaces any existing reply. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`review`stringRequiredFull review resource name from gbp_list_reviews.  
`comment`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_create_post` Business Profile create post Approval gated**

Publish a public update, offer or event to a bound Business Profile location. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`account`stringRequiredAccount resource name from gbp_list_accounts.  
`location`stringRequiredLocation resource name from gbp_list_locations.  
`dry_run`boolean  
`post`objectRequired  
`language_code`stringRequired  
`summary`stringRequired  
`photos`string[]  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_update_location` Business Profile update location Write**

Update the regular hours, special hours or public description for a bound Business Profile location. Supply only the fields to replace.

`account`stringRequiredAccount resource name from gbp_list_accounts.  
`location`stringRequiredLocation resource name from gbp_list_locations.  
`dry_run`boolean  
`description`string  
`regular_hours`object[]  
`special_hours`object[]  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_list_attributes` Business Profile list attributes Read**

List the attributes currently set on a bound Business Profile location.

`account`stringRequiredAccount resource name from gbp_list_accounts.  
`location`stringRequiredLocation resource name from gbp_list_locations.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gbp_update_attributes` Business Profile update attributes Write**

Update supported attributes on a bound Business Profile location. Attribute names and value types depend on the business category.

`account`stringRequiredAccount resource name from gbp_list_accounts.  
`location`stringRequiredLocation resource name from gbp_list_locations.  
`dry_run`boolean  
`attributes`object[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/roof_report` Roof report Approval gated**

Measure a roof from satellite imagery for a roofing quote: roof area in square feet, each roof plane with pitch (x/12) and the direction it faces, yearly sunshine, and squares with a waste factor, plus a plain summary. Included in Keystone and billed pay-as-you-go from the workspace wallet; no API key setup is required. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`address`stringRequiredStreet address of the building, with city and state.  
`waste_percent`numberWaste factor added to the squares count.  
`min_quality`"HIGH" | "MEDIUM" | "BASE"Lowest imagery quality to accept. Better imagery is returned when available.  
`request_id`stringextra idempotency ID so retries do not double-charge.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_list_accounts` Gads list accounts Read**

List the Google Ads customer IDs bound to this workspace and the requests still waiting for the account owner. A request binds after the owner accepts the Keystone manager invitation and creates the label shown here.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_query` Gads query Read**

Run a read-only GAQL SELECT for a customer bound to this workspace. Returns up to 500 rows. Money fields ending in Micros use millionths of the account currency.

`customer_id`stringRequiredBound Google Ads customer ID, with or without hyphens.  
`query`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_campaign_performance` Gads campaign performance Read**

Get impressions, clicks, cost in account currency, conversions, and phone calls for campaigns in a customer bound to this workspace.

`customer_id`stringRequired  
`from`stringRequired  
`to`stringRequired  
`by`"campaign" | "week" | "day"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_create_budget` Gads create budget Write**

Create a daily Google Ads budget for one campaign.

`name`stringRequired  
`daily_budget_micros`objectRequiredMillionths of the Google Ads account currency.  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_update_budget` Gads update budget Approval gated**

Change the daily budget of a Google Ads campaign budget. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`budget_id`stringRequired  
`daily_budget_micros`objectRequiredMillionths of the Google Ads account currency.  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_create_search_campaign` Gads create search campaign Write**

Create a paused Search campaign. Add targeting, ad groups and ads before enabling it.

`name`stringRequired  
`budget_id`stringRequired  
`bidding`objectRequired  
`networks`object  
`contains_eu_political_advertising`booleanRequiredAdvertiser declaration that the campaign contains political advertising targeted at the EU.  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_update_search_campaign` Gads update search campaign Approval gated**

Change Search campaign name, budget, networks or bidding. Supply one or more fields. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`name`string  
`budget_id`string  
`bidding`object  
`networks`object  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_add_campaign_criteria` Gads add campaign criteria Approval gated**

Add location targets, ad schedules or negative keywords to a campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`criteria`object[]Required  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_remove_campaign_criteria` Gads remove campaign criteria Approval gated**

Remove location, schedule or negative keyword criteria. Removing a criterion may broaden serving. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`criterion_ids`string[]Required  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_create_ad_group` Gads create ad group Approval gated**

Create a Search ad group. An enabled group can serve once it has eligible ads, keywords and an enabled campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`name`stringRequired  
`cpc_bid_micros`objectMillionths of the Google Ads account currency.  
`status`"PAUSED" | "ENABLED"  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_update_ad_group` Gads update ad group Approval gated**

Change the name or manual CPC bid of an existing Search ad group. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_group_id`stringRequired  
`name`string  
`cpc_bid_micros`objectMillionths of the Google Ads account currency.  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_add_keywords` Gads add keywords Approval gated**

Add exact, phrase or broad keywords to an ad group. Set negative to exclude them. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_group_id`stringRequired  
`keywords`object[]Required  
`negative`boolean  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_replace_keyword` Gads replace keyword Approval gated**

Replace the text or match type of an existing ad group keyword. Supply its intended status and whether it is negative. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_group_id`stringRequired  
`criterion_id`stringRequired  
`keyword`objectRequired  
`negative`boolean  
`status`"PAUSED" | "ENABLED"  
`cpc_bid_micros`objectMillionths of the Google Ads account currency.  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_update_keyword_bid` Gads update keyword bid Approval gated**

Change the manual CPC bid of an existing positive ad group keyword. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_group_id`stringRequired  
`criterion_id`stringRequired  
`cpc_bid_micros`objectRequiredMillionths of the Google Ads account currency.  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_remove_keywords` Gads remove keywords Approval gated**

Remove ad group criteria by ID. Removing a negative keyword broadens targeting. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_group_id`stringRequired  
`criterion_ids`string[]Required  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_create_negative_list` Gads create negative list Write**

Create a shared negative keyword list with its initial entries.

`name`stringRequired  
`keywords`object[]Required  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_rename_negative_list` Gads rename negative list Write**

Rename a shared negative keyword list.

`list_id`stringRequired  
`name`stringRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_add_negative_list_keywords` Gads add negative list keywords Write**

Add negative keywords to a shared list.

`list_id`stringRequired  
`keywords`object[]Required  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_remove_negative_list_keywords` Gads remove negative list keywords Approval gated**

Remove negative keywords from a shared list. This may broaden all linked campaigns. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`list_id`stringRequired  
`criterion_ids`string[]Required  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_attach_negative_list` Gads attach negative list Write**

Attach a shared negative keyword list to a campaign.

`list_id`stringRequired  
`campaign_id`stringRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_detach_negative_list` Gads detach negative list Approval gated**

Detach a shared negative keyword list from a campaign. This may broaden targeting. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`list_id`stringRequired  
`campaign_id`stringRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_create_responsive_search_ad` Gads create responsive search ad Approval gated**

Create a responsive search ad with 3 to 15 headlines and 2 to 4 descriptions. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_group_id`stringRequired  
`ad`objectRequired  
`status`"PAUSED" | "ENABLED"  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_update_responsive_search_ad` Gads update responsive search ad Approval gated**

Replace the landing URL, headlines and descriptions of a responsive search ad. Supply all copy you want to keep. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`ad_id`stringRequired  
`ad`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_add_campaign_assets` Gads add campaign assets Approval gated**

Create and attach call assets, sitelinks and callouts to a campaign. To replace an asset, attach its replacement and pause the old link. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`assets`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_replace_campaign_asset` Gads replace campaign asset Approval gated**

Attach a replacement call asset, sitelink or callout and pause the old campaign link in one operation. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`asset_id`stringRequired  
`replacement`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_create_conversion_action` Gads create conversion action Approval gated**

Create a conversion action for calls from ads, website calls or successful form submissions. Use OFFLINE_LEAD for Data Manager form imports. Website actions require tags on the site. A primary action can affect automated bidding. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`name`stringRequired  
`kind`"CALLS_FROM_ADS" | "WEBSITE_CALLS" | "FORM_SUBMIT" | "OFFLINE_LEAD"Required  
`minimum_call_seconds`integer  
`primary_for_goal`boolean  
`counting`"one" | "every"one counts one conversion per ad click. every counts each one, for repeat customer value.  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_update_conversion_action` Gads update conversion action Approval gated**

Change a conversion action name, call duration or use in bidding. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`conversion_action_id`stringRequired  
`name`string  
`minimum_call_seconds`integer  
`primary_for_goal`boolean  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_pause` Gads pause Write**

Pause a campaign, ad group, ad, positive keyword or campaign asset link.

`target`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/google_ads_entity_enable` Google ads entity enable Approval gated**

Google Ads: enable an ad group, ad, positive keyword or campaign asset link. This can start serving ads. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`target`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gads_enable` Gads enable Approval gated**

Compatibility alias for google_ads_entity_enable. Google Ads: enable an ad group, ad, positive keyword or campaign asset link. This can start serving ads. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`target`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/google_ads_campaign_enable` Google ads campaign enable Approval gated**

Google Ads: enable a paused campaign after checking the budget, targeting, policy status and tracking. This can start ad spend. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ads_campaign_enable` Ads campaign enable Approval gated**

Compatibility alias for google_ads_campaign_enable. Google Ads: enable a paused campaign after checking the budget, targeting, policy status and tracking. This can start ad spend. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/google_ads_campaign_create_paused` Google ads campaign create paused Write**

Google Ads: create a paused Search campaign without starting spend in one validated batch. Use ads_campaign_enable to start serving after review.

`plan`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ads_campaign_launch` Ads campaign launch Write**

Compatibility alias for google_ads_campaign_create_paused. Google Ads: create a paused Search campaign without starting spend in one validated batch. Use ads_campaign_enable to start serving after review.

`plan`objectRequired  
`customer_id`stringRequired  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/property_report` Property report Read**

Combined address report using multiple provider lookups. Combine available parcel records, owner of record, home age, last sale and permit history for one address. See recent permits within about one mile. Use for licensed business purposes outside consumer eligibility and screening.

`address`stringRequiredUS address in street, city, state ZIP format.  
`work_type`stringMireye work tag, for example roof, hvac, solar or new_building.  
`history_cursor`stringContinue a long permit history using permit_history.next_cursor.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/permit_leads` Permit leads Read**

Find recently issued permits for a type of work and rank contractors by permit records on the returned page.

`area`objectRequiredSearch by state and county FIPS, state and city, ZIP, point and radius in metres, or state.  
`work_type`stringRequiredMireye work tag, for example roof, hvac, solar or new_building.  
`since`stringRequired  
`limit`integer  
`cursor`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/nearby_addresses` Nearby addresses Read**

Find nearby mapped US street addresses for a neighbor mailer. Free by default using open map data, with Current Resident as the recipient. BatchData adds owner names, mailing addresses and property filters and bills per property record. Auto checks free coverage first. Set certified_use to true before any BatchData search. Use BatchData for licensed business purposes. Exclude consumer eligibility and covered-person targeting. Contact data carries no consent. Check Do Not Call lists, TCPA, CAN-SPAM and applicable privacy rules, and obtain any required consent before outreach.

`address`stringRequiredFull US street address, including city, state, and ZIP code.  
`count`integer  
`radius_m`integerMaximum search radius in meters. Defaults to 5,000.  
`source`"free" | "batchdata" | "auto"  
`format`"json" | "csv"  
`owner_occupied`boolean  
`absentee_owner`boolean  
`property_type`string  
`min_value`integer  
`max_value`integer  
`owner_names`booleanRequest owner names with source auto or batchdata.  
`certified_use`booleanConfirm this use complies with BatchData’s license and excludes FCRA-regulated eligibility or screening.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/custom_connect` Custom connect Read**

Connect any app that has an API with the person's own API key. The person only types the app name and pastes the key on a secure Keystone page; Keystone finds the API docs itself, works out how the key is sent and builds tools to review. Returns that page link. Never ask for an API key in chat. If the app already connects directly, returns that link instead.

`app`stringRequiredThe app name, for example the scheduling or invoicing app the business uses.  
`docsUrl`stringA link to the API docs, only if the person already gave one.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/custom_list` Custom list Read**

List custom API connectors and every generated operation in this workspace, including typed parameters, examples and risk. Read the operation descriptions to choose the right connector and operation before custom_call. Draft connectors are visible for review but only enabled connectors can run.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/custom_call` Custom call Destructive**

Execute a customer-defined operation in an explicit workspace using the exact operation name and typed parameters returned by custom_list. Check its risk first. Ask the person before sends, purchases, destructive changes or other writes. Responses over 128 KiB are rejected. Credentials never appear in results.

`connector`stringRequiredConnector id, slug or exact name from custom_list.  
`operation`stringRequiredExact generated operation name from custom_list.  
`params`objectParameters matching the generated operation schema.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_account` CRM account Write**

The ServiceLine CRM account included with this plan for the current workspace: whether it is on, its link (opens sl.app signed in with the ServiceLine login), and whether it is read only. Pass setup true to turn it on when it is not on yet (owner or admin). Personal includes one CRM account; Agency and the trial include one per client workspace.

`setup`booleanTurn the CRM on for this workspace when it is not on yet.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_search_contacts` CRM search contacts Read**

Search contacts in the workspace CRM by name, email, phone or company, or look one up by exact email. Returns contacts and a cursor for the next page.

`search`string  
`email`stringExact email lookup.  
`tags`stringComma-separated tag names.  
`limit`integerRows per page, 1 to 100 (default 25).  
`cursor`stringCursor from the previous page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_get_contact` CRM get contact Read**

One contact from the workspace CRM by id, with its fields, tags and lifecycle stage.

`contact_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_create_contact` CRM create contact Write**

Add a contact to the workspace CRM. First and last name are required. Search first so you do not add a duplicate.

`first_name`stringRequired  
`last_name`stringRequired  
`email`string  
`phone`stringE.164 when you have it, like +15551234567.  
`company`string  
`tags`string[]  
`city`string  
`state`string  
`postal_code`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_update_contact` CRM update contact Write**

Change fields on one contact in the workspace CRM. Only the fields you pass change. Tags you pass replace the contact tags.

`contact_id`stringRequired  
`first_name`string  
`last_name`string  
`email`string  
`phone`stringE.164 when you have it, like +15551234567.  
`company`string  
`tags`string[]  
`city`string  
`state`string  
`postal_code`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_list_pipelines` CRM list pipelines Read**

Sales pipelines in the workspace CRM with their stages and ids. Call this before creating or moving an opportunity.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_list_opportunities` CRM list opportunities Read**

Opportunities (deals) in the workspace CRM, filtered by pipeline, stage, contact or status (open, won, lost).

`pipeline_id`string  
`stage_id`string  
`contact_id`string  
`status`"open" | "won" | "lost" | "abandoned"  
`limit`integerRows per page, 1 to 100 (default 25).  
`cursor`stringCursor from the previous page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_create_opportunity` CRM create opportunity Write**

Open an opportunity (deal) for a contact in a pipeline stage. Get pipeline and stage ids from crm_list_pipelines.

`contact_id`stringRequired  
`pipeline_id`stringRequired  
`stage_id`stringRequired  
`name`stringRequired  
`value`numberDeal value in dollars.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_move_opportunity` CRM move opportunity Write**

Move an opportunity to another stage, or mark it won or lost.

`opportunity_id`stringRequired  
`stage_id`string  
`status`"open" | "won" | "lost"  
`lost_reason`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_create_task` CRM create task Write**

Add a follow-up task in the workspace CRM, optionally tied to a contact or opportunity.

`title`stringRequired  
`description`string  
`due_date`stringYYYY-MM-DD.  
`contact_id`string  
`opportunity_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_list_conversations` CRM list conversations Read**

List recent SMS, email, and call conversations in the workspace CRM, optionally filtered by contact or channel.

`contact_id`string  
`channel`"sms" | "email" | "gmail" | "messenger" | ...  
`limit`integerRows per page, 1 to 100 (default 25).  
`cursor`stringCursor from the previous page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_get_messages` CRM get messages Read**

Read messages inside one conversation from the workspace CRM.

`conversation_id`stringRequired  
`limit`integerRows per page, 1 to 100 (default 25).  
`cursor`stringCursor from the previous page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_list_appointments` CRM list appointments Read**

List calendar appointments in the workspace CRM, optionally filtered by contact or status.

`contact_id`string  
`status`"scheduled" | "confirmed" | "completed" | "cancelled" | ...  
`limit`integerRows per page, 1 to 100 (default 25).  
`cursor`stringCursor from the previous page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_log_event` CRM log event Write**

Write a Keystone event (call, text, email, form, booking, review, receptionist_call, job, or attribution) onto a contact timeline in the workspace CRM. Matches the contact by id, email, or phone, creates one if needed, and deduplicates by external_event_id.

`external_event_id`stringRequired  
`event_type`"call" | "text" | "email" | "form" | ...Required  
`title`string  
`summary`stringRequired  
`direction`"inbound" | "outbound"  
`contact_id`string  
`deal_id`string  
`name`string  
`email`string  
`phone`string  
`tags`string[]  
`utm_source`string  
`utm_medium`string  
`utm_campaign`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_recent_events` CRM recent events Read**

List recent real-time webhook events received from the workspace CRM (pipeline stage moves, won or lost opportunities, new contacts, completed tasks, appointments, paid invoices, and opt-outs).

`event_type`stringextra filter like opportunity.stage_changed or opportunity.won.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_sync_status` CRM sync status Write**

Check two-way sync health between this workspace and its ServiceLine CRM account (webhook status, linked contacts, inbound CRM events, and outbound timeline deliveries). Pass setup_webhook true (owner or admin) to wire or refresh the CRM webhook.

`setup_webhook`booleanRegister or refresh the CRM -> Keystone webhook for this workspace.  
`rotate_secret`booleanRotate the webhook signing secret when setup_webhook is true.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/crm_hand_off` CRM hand off Destructive**

Offboarding: hand the workspace CRM account to its owner. Keystone stops managing it and its CRM tools stop working here. The data stays in the CRM. Pass transfer_to_email to give that person admin access (they get an invite if they have no ServiceLine login). Account owner only.

`transfer_to_email`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/app_request` App request Write**

Ask for an app Keystone does not have yet, in one step. Use it when apps_search, connections_list or the person cannot find an app among Keystone's apps. Keystone checks its catalog, then looks for the app's API (a way for software to talk to it directly). With an API, Keystone connects it through the vendor sign-in or a credential passed server-side, then writes and tests the tools. Without one, Keystone builds it with API Anything: it gets its own user in the app, signs in on a Keystone Computer, learns each job and tests it on the real screens. Finished tools wait for a person to turn them on, then show up in this workspace (custom_list and custom_call, or anything_apps and anything_run). Returns the request with its status, the person's next step and a status page. Asking again for the same app returns the open request. Never ask for an API key, password or code in chat. Start Keystone-managed setup with app_request_update action "connect", or pass a credential to that tool only when the vendor supplied it for this workspace.

`app`stringRequiredThe app name as the person says it.  
`jobs`string[]What the person wants the AI to do in the app, each in plain words, for example "list today's jobs with the customer and address".  
`site`stringThe web address where the person signs in to the app, if they said it.  
`credential`objectA vendor-supplied API credential for this workspace, passed server-side. Never ask the person to paste one in chat.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/app_requests` App requests Read**

Lists this workspace's app requests with status (Checking, Needs you, Building, Ready to turn on, Ready, Stopped, Cancelled), the step Keystone is on, the person's next step with its link, the tools built and the last test. Pass request (an id or app name) for one request with its full timeline; refresh true looks again now instead of within five minutes.

`request`stringRequest id or app name. Omit to list all.  
`refresh`booleantrue to check the request again now.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/app_request_update` App request update Write**

Changes an app request. action "connect": start Keystone-managed setup and, when the vendor needs the person once, return the sign-in popup address. action "credential": hand a vendor-supplied API credential into the request server-side (pass credential, never a chat message). action "site": add the web address where the person signs in (pass site). action "cancel": stop the request. action "offer": once the app is Ready, offer it to every workspace in this account (to "account") or to every Keystone workspace (to "everyone"). The offer carries the tool descriptions only, never keys, logins or results; each workspace still connects with its own access. An offer to everyone may wait for Keystone's check before it lists. action "withdraw": take an offer back. Offers need an owner or admin.

`request`stringRequiredRequest id or app name.  
`action`"connect" | "credential" | "site" | "cancel" | ...Required  
`site`stringFor action "site": the sign-in web address.  
`to`"account" | "everyone"For action "offer".  
`credential`objectFor action "credential": the vendor-supplied API credential.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Phone, texts and receptionist57 endpoints**

**POST `/v1/tools/phone_recording_notice_set` Phone recording notice set Write**

Add a workspace notice after the recording disclosure for callers and answering staff. Set an empty notice to restore the default.

`notice`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/messaging_time_zone_set` Messaging time zone set Write**

Set the local time zone for a known recipient or the workspace default for messaging hours.

`recipient`string  
`time_zone`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_rescue_settings` Call rescue settings Approval gated**

Configure call coaching, the booking window and local sending hours (8 am to 8 pm). Automatic texts apply only to missed calls. Supply a tracking company ID to include its inbound calls. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`disable`boolean  
`configure`object  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_transcript` Call transcript Read**

Read a call transcript and booking assessment in this workspace.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/calls_unbooked` Calls unbooked Read**

List callers who wanted to book and had no matching job after the booking window.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_rescue_queue` Call rescue queue Approval gated**

List pending rescue drafts, edit a text, approve delivery or skip a caller. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`action`"list" | "edit" | "approve" | "skip"  
`id`string  
`body`string  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_coaching_report` Call coaching report Read**

Read seven days of call outcomes, staff booking rates, lost reasons and coaching examples. Pass end_date for an exclusive coordinated universal time end date.

`end`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_search` Phone search Read**

Find available US voice numbers and quote the monthly rental and setup in USD micros. Toll-free numbers have no city.

`type`"local" | "toll-free"  
`areaCode`string  
`city`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_lookup_once` Phone lookup once Approval gated**

One-time lookup: get the caller name and line type for a US number. Each lookup costs about 0.022 USD from the wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`number`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_lookup` Phone lookup Approval gated**

Compatibility alias for phone_lookup_once. One-time lookup: get the caller name and line type for a US number. Each lookup costs about 0.022 USD from the wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`number`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_buy` Phone buy Approval gated**

Charge the card for the first month and setup, then buy the quoted US tracking number. Reuse the same UUID on retries. Keystone asks the owner to approve the first-month total before buying. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`id`stringRequiredPurchase reference for this tracking number.  
`number`stringRequired  
`maximumMicros`integerRequiredFirst-month total including setup in USD micros, from the phone_search quote.  
`label`stringRequiredCampaign or source to attribute incoming calls to.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_list` Phone list Read**

List this workspace’s tracking numbers, forwarding settings and renewal dates.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_forward` Phone forward Write**

Forward incoming calls to a business number. Enable recording only with the required consent. If set, the whisper plays to the answering party.

`id`stringRequiredPurchase reference for this tracking number.  
`to`stringRequired  
`whisper`string  
`record`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/phone_release` Phone release Destructive**

Release a tracking number and stop forwarding and future renewals.

`id`stringRequiredPurchase reference for this tracking number.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/calls_list` Calls list Read**

List the 100 most recent inbound calls with their campaign, tracking number, and caller lookup: caller name, business or consumer, line type (mobile, landline, VoIP) and a note when the lookup was skipped.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_get` Call get Read**

Get an inbound call with its caller lookup (name, line type, carrier) and its recordings. Open recording links while signed in to Keystone.

`sid`objectRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/caller_lookup_settings_get` Caller lookup settings get Read**

Read workspace caller enrichment settings, price per new caller and recent lookup counts.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/caller_lookup_settings_set` Caller lookup settings set Write**

Enable or disable ongoing paid caller enrichment for this workspace. Each new US caller is billed once per 30 days.

`enabled`booleanRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/caller_lookup` Caller lookup Write**

Read or change caller lookup on Keystone Numbers for this workspace. When on, each new US caller is looked up once (name and line type) and billed to the wallet; repeat callers within 30 days are free, and lookups stop when the wallet has no balance.

`enabled`booleanTurn caller lookup on or off. Leave empty to read the setting.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/sms_send` SMS send Approval gated**

Send one text through this workspace’s approved US messaging campaign to a recipient who opted in. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`to`stringRequired  
`body`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/a2p_start` Texting start Approval gated**

Drafts business texting registration from what Keystone already knows about the business, looks up public EIN records, runs read-only website compliance pre-flight (planning exact additive edits for Keystone-hosted sites or exact patches for external sites), and submits only after the owner reviews the exact carrier submission and approves the plain wallet fee. Leave submit false first to draft and pre-flight without editing live pages; set submit true once legal facts are confirmed and website checks pass. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`legal_name`stringExact IRS legal business name.  
`dba_name`stringPublic DBA or brand name if different from legal name.  
`ein`stringUS Federal Tax ID (EIN, 9 digits).  
`entity_type`"LLC" | "CORPORATION" | "SOLE_PROPRIETOR" | "PARTNERSHIP" | ...Legal entity type (LLC, CORPORATION, SOLE_PROPRIETOR, PARTNERSHIP, NON_PROFIT, CO_OPERATIVE).  
`vertical`stringIndustry vertical, e.g. HEALTHCARE, LEGAL, RETAIL, PROFESSIONAL.  
`website`stringPublic business website URL.  
`street`stringRegistered business street address.  
`city`stringBusiness city.  
`state`stringTwo-letter US state code.  
`postal_code`stringFive-digit US ZIP code.  
`contact_first_name`stringAuthorized representative first name.  
`contact_last_name`stringAuthorized representative last name.  
`contact_email`stringAuthorized representative email.  
`contact_phone`stringAuthorized representative US phone number.  
`contact_title`stringAuthorized representative title (default Owner).  
`support_email`stringCustomer support email for SMS help replies.  
`support_phone`stringCustomer support phone for SMS help replies.  
`tier`"low_volume" | "standard" | "sole_proprietor"Messaging volume tier: low_volume (default), standard, or sole_proprietor.  
`use_case`"LOW_VOLUME" | "MIXED" | "CUSTOMER_CARE" | "ACCOUNT_NOTIFICATION" | ...Messaging use case (auto-drafted when omitted).  
`confirm_facts`booleanSet true once the owner has confirmed the legal business facts.  
`fix_site`booleanWhen submit is true, apply the approved additive Keystone site updates shown in the approval diff before submitting (default false).  
`create_agent_job`booleanFor external sites, queue an agent job to apply the compliance patches.  
`submit`booleanSet true after legal facts are confirmed and pre-flight passes to approve the exact submission, pay the wallet fee, and submit to carriers.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/a2p_status` Texting status Read**

Returns the workspace business texting registration status, exact carrier submission draft, website compliance checks, planned additive site diffs, plain wallet fees, what is left, and recent updates. Polls the phone carrier when registration is in review.

`refresh`booleanPoll the carrier for the latest review status when pending (default true).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/a2p_fix` Texting fix Approval gated**

Checks website compliance, drafts updated carrier-facing copy after a rejection, applies approved additive compliance edits to Keystone-hosted sites (showing the exact diff in approval), or resubmits updated registration details after fresh owner approval. Pass resubmit:false and apply_site_edits:false to draft and inspect changes without mutating the site or submitting. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`legal_name`stringExact IRS legal business name.  
`dba_name`stringPublic DBA or brand name if different from legal name.  
`ein`stringUS Federal Tax ID (EIN, 9 digits).  
`entity_type`"LLC" | "CORPORATION" | "SOLE_PROPRIETOR" | "PARTNERSHIP" | ...Legal entity type (LLC, CORPORATION, SOLE_PROPRIETOR, PARTNERSHIP, NON_PROFIT, CO_OPERATIVE).  
`vertical`stringIndustry vertical, e.g. HEALTHCARE, LEGAL, RETAIL, PROFESSIONAL.  
`website`stringPublic business website URL.  
`street`stringRegistered business street address.  
`city`stringBusiness city.  
`state`stringTwo-letter US state code.  
`postal_code`stringFive-digit US ZIP code.  
`contact_first_name`stringAuthorized representative first name.  
`contact_last_name`stringAuthorized representative last name.  
`contact_email`stringAuthorized representative email.  
`contact_phone`stringAuthorized representative US phone number.  
`contact_title`stringAuthorized representative title (default Owner).  
`support_email`stringCustomer support email for SMS help replies.  
`support_phone`stringCustomer support phone for SMS help replies.  
`apply_site_edits`booleanApply the narrow additive compliance edits (privacy clause, terms, unchecked consent checkbox, append footer links) to a Keystone-hosted site after owner approval.  
`create_agent_job`booleanQueue an agent job to apply compliance patches on an external site.  
`resubmit`booleanResubmit updated details to carriers after owner approval (defaults to true when rejected).  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/receptionist_setup` Receptionist setup Write**

Create or update an AI receptionist on a legacy Retell AI or Vapi connection already present in this workspace. New workspaces use keystone_receptionist_setup, Keystone's built-in receptionist. Automatically pulls business name, hours, services, service area, and booking rules from workspace memory and lets you override any field.

`provider`"retell" | "vapi"Legacy voice provider: "retell" or "vapi". Omit when only one is connected in this workspace.  
`agent_id`stringExisting Keystone AI receptionist ID to update.  
`name`stringLabel for this AI receptionist agent.  
`business_name`stringBusiness name spoken by the receptionist.  
`hours`stringBusiness hours in plain text, such as "Mon-Fri 8am-5pm, Sat 9am-1pm".  
`business_hours`objectStructured daily schedule keyed by sun..sat (for example { mon: "08:00-17:00" }).  
`time_zone`stringIANA time zone for after-hours routing, such as local time zone.  
`services`stringServices offered by the business.  
`service_area`stringCities, counties, or ZIP codes served.  
`booking_rules`stringScheduling rules, dispatch minimums, and emergency handling.  
`greeting`stringOpening sentence spoken when the call connects.  
`voice_id`stringProvider voice ID to use for the receptionist.  
`model_provider`stringVapi LLM provider (default openai).  
`model_name`stringVapi LLM model (default gpt-4o-mini).  
`crm_target`"auto" | "serviceline_crm" | "highlevel_location" | "hubspot" | ...Where booked appointments and captured leads route: auto (connected CRM), highlevel_location, hubspot, jobber, housecall_pro, or dashboard.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/receptionist_attach` Receptionist attach Write**

Route a workspace Keystone Number to an AI receptionist always, after business hours, as overflow when nobody answers, or turn AI routing off.

`phone`stringRequiredKeystone tracking number ID or E.164 phone number (+1...) in this workspace.  
`agent_id`stringKeystone AI receptionist ID. Defaults to the sole receptionist when the workspace has only one.  
`mode`"always" | "after_hours" | "overflow" | "off"RequiredRouting mode: always, after_hours, overflow (ring business first, then AI), or off.  
`overflow_timeout_seconds`integerSeconds to ring the forwarding number before overflowing to the AI receptionist (5 to 60).  
`time_zone`stringIANA time zone override for after-hours routing.  
`hours`stringBusiness hours override for after-hours routing.  
`business_hours`objectStructured daily schedule override.  
`vapi_phone_number_id`stringExisting Vapi phone number ID for provider-bypass routing instead of a new Vapi SIP URI.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/receptionist_calls` Receptionist calls Read**

List recent AI receptionist calls with transcripts, call outcomes, booked appointments, CRM delivery status, and campaign attribution.

`agent_id`stringFilter by one Keystone AI receptionist ID.  
`outcome`"booked" | "lead_captured" | "callback_requested" | "question_answered" | ...Filter by outcome (booked, lead_captured, callback_requested, question_answered, spam, other).  
`sync`booleanPull latest calls from the legacy provider and push any new booked or captured leads to the workspace CRM.  
`include_transcript`booleanInclude call transcripts in the response.  
`limit`integerMaximum calls to return (1 to 50).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/keystone_receptionist_setup` Keystone receptionist setup Approval gated**

Set up or change the Keystone receptionist, Keystone's own AI that answers calls on Keystone Numbers. Needs Keystone Computers on the workspace ($15 a month); call minutes are billed to the wallet. It can check the calendar and book within your rules, look up the caller in your records, check job status, check whether an email arrived, take a lead or a message, text an approved link, and transfer to a person. By default it only reads and records inside Keystone: booking stays a request for the team to confirm, and texting, CRM push and calendar writes stay off until you turn them on. It says it is an AI up front where a state law asks for it, and truthfully whenever a caller asks. Leave every field empty to read the current setup. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`enabled`booleanTurn the receptionist on or off for this workspace.  
`business_name`string  
`greeting`stringFirst words on every call. Keystone always adds that the caller is speaking with an AI.  
`hours`stringBusiness hours in plain English, e.g. "Mon-Fri 8am-5pm, Sat 9am-1pm".  
`time_zone`stringIANA time zone, e.g. local time zone.  
`services`string  
`service_area`string  
`notes`stringFacts the receptionist may share: policies, parking, warranty, FAQ answers.  
`voice`"marin" | "cedar" | "alloy" | "ash" | ...  
`booking_mode`"off" | "request" | "book"off: never offers times. request: records the chosen time for the team to confirm (default). book: books inside the rules below.  
`slot_minutes`integer  
`min_notice_minutes`integer  
`max_days_ahead`integer  
`max_per_day`integer  
`bookable_services`string[]Services that may be booked by phone. Empty means any listed service.  
`calendar_events`booleanCheck the connected Google Calendar for busy times and add booked appointments to it.  
`push_leads`booleanSend captured leads to the connected CRM. Off keeps them in Keystone.  
`crm_target`string  
`allow_sms`booleanLet the receptionist text the caller one of the approved links.  
`sms_links`object[]  
`transfer_number`string  
`transfer_when`"never" | "asked" | "urgent"  
`recording_notice`"always" | "all_party" | "off"always (default), all_party (only where state law requires consent from everyone), or off.  
`business_state`object  
`numbers`object[]Which Keystone Numbers the receptionist answers: always, after_hours, overflow (when nobody picks up), or off.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/keystone_receptionist_calls` Keystone receptionist calls Read**

Review calls the Keystone receptionist answered: outcome, summary, bookings, messages and cost. Pass call_id for the full transcript and every tool it used.

`call_id`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/appointment_get` Appointment get Read**

Show an appointment the Keystone receptionist booked or took as a request: service, time, customer, address and notes. Omit id for the soonest request waiting for confirmation (or the next booked one). In AI apps that show cards it has a Confirm button.

`id`stringBooking id, for example kbk_... from keystone_receptionist_calls.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/appointment_confirm` Appointment confirm Write**

Confirm an appointment request the Keystone receptionist took, so it counts as booked. Adds it to the connected Google Calendar when calendar writes are on. Does not message the customer. Confirm with the person first.

`id`stringRequiredBooking id from appointment_get.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_place` Call place Approval gated**

Keystone Voice: call a phone number from this workspace's Keystone Number and get something done, in a natural voice. Give the goal ("confirm Sarah Miller's Thursday 2 PM appointment", "ask the supplier when order 4417 ships", "get a quote for a 50-gallon water heater install") and the facts it may share. It works phone menus, waits on hold without running up the bill, talks with the person, checks Keystone (calendar, customer records, invoices, notebook) mid-call, and returns the answer, transcript, recording and outcome. Pass up to 25 numbers in "calls" to call several at once with the same goal. Returns call ids right away; read results with call_status (wait_seconds waits for the calls to finish). Calls to businesses need nothing else. Calls to people need consent Keystone already has (a booking, a form, a recorded opt-in) and ring only in their local calling hours; Keystone checks this and says why when a call cannot go out. The owner can listen live and take over from the call page. Billed to the wallet per call. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`to`stringUS phone number to call. Use "calls" for several.  
`name`stringWho you are calling.  
`calls`object[]Several numbers to call with the same goal.  
`goal`stringRequiredWhat the call should get done, in plain words.  
`facts`stringWhat the caller may share: account numbers, order numbers, dates, names, budget. Nothing else is shared.  
`recipient`"business" | "consumer"Requiredbusiness: a company, office, store or phone menu. consumer: a person at their own phone, such as a customer.  
`purpose`"informational" | "marketing"informational (default): about an order, a job, an appointment, a question. marketing: selling or promoting; needs written consent for people.  
`consent_note`stringFor a business reached on a cell phone: why this business may call it, e.g. "their order line from the supplier's invoice".  
`language`stringLanguage to start in, e.g. "en" or "es". The caller switches if they answer in another.  
`max_minutes`integerTime limit, holds included. Default 20.  
`voicemail`"leave" | "hang_up"On voicemail: leave a short message (default) or hang up.  
`allow_tools`string[]Extra Keystone tools the call may use, beyond reading the calendar, records, invoices and notebook.  
`record`booleanRecord the call (default true). Keystone adds the recording notice where state law asks for it.  
`fast`booleanUse the quicker, lower-cost voice for short, simple calls such as a confirmation.  
`from_phone_id`stringWhich Keystone Number to call from. Defaults to the newest.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_status` Call status Read**

Keystone Voice: the result of calls placed with call_place: status, answer, details, summary, outcome, recording link and the full transcript. Pass call_id or batch_id; wait_seconds waits for live calls to finish.

`call_id`string  
`batch_id`string  
`wait_seconds`integerWait up to this long for live calls to finish.  
`include_timeline`booleanEvery step: keys pressed, holds, tools used.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/calls_placed` Calls placed Read**

Keystone Voice: recent calls this workspace placed, newest first, with answers and outcomes.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_hangup` Call hangup Write**

Keystone Voice: end a live call now, or cancel one still waiting to dial.

`call_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/call_consent_record` Call consent record Write**

Keystone Voice: record that a person agreed to get calls from this business, with the evidence, so calls to them can go out. express: they agreed to calls about their job, order or appointment (for example they asked to be called, or gave this number on a work order). written: a signed agreement to marketing calls. Also use do_not_call to record that someone asked not to be called, or undo=true to remove that.

`phone`stringRequired  
`kind`"express" | "written"  
`scope`"informational" | "marketing" | "all"  
`evidence`stringHow and when they agreed, in plain words. Required to record consent.  
`do_not_call`booleanRecord that this number asked not to be called.  
`undo`booleanWith do_not_call, remove the number from the do-not-call list (only when they asked to be called again).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/speed_settings` Speed settings Approval gated**

Configure automatic SMS for opted-in callers and form leads. Hours use the workspace time zone. Texts can be sent from 8 AM until 8 PM. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`enabled`booleanRequired  
`missed`stringRequired  
`form`stringRequired  
`owner`string  
`timeZone`stringRequired  
`startHour`integerRequired  
`endHour`integerRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/speed_form_received` Speed form received Approval gated**

Record a new form submission and trigger configured lead and owner texts. Reuse the submission ID on retry. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`id`stringRequired  
`phone`stringRequired  
`email`string  
`name`string  
`smsConsent`booleanRequired  
`channel`stringRequired  
`campaign`string  
`click`string  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/frontdoor_setup` Frontdoor setup Write**

Set up or update the front door for this workspace: one phone number, one inbox address the business can forward lead emails to or publish, and one booking link. Reuses an existing Keystone Number (pass phoneId from phone_list, or it picks the first active one). It never buys a number: when there is none, it says so; buying is phone_search then phone_buy, which charges the card and needs the owner's approval. Also saves settings: business hours, quiet hours for texts, owner contact for alerts, whether email leads may be texted, allowed senders, the auto reply, and booking options. Returns the inbox address, the booking link, a small page file to publish at /book on the workspace site with site_deploy, and what is still missing.

`phoneId`stringAn active Keystone Number in this workspace, from phone_list.  
`forwardTo`stringRing this number when someone calls the front door number (E.164, e.g. +12025550100).  
`settings`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/frontdoor_inbox` Frontdoor inbox Read**

Recent items from the front door timeline (calls, texts, emails, bookings), newest first, each with who it was from, the source and service, the rule that matched, and what Keystone did (filed, added to the CRM, texted, alerted someone, queued for after quiet hours).

`limit`integer  
`channel`"call" | "text" | "email" | "booking"  
`kind`"lead" | "reply" | "spam" | "receipt" | ...lead, reply, spam, receipt or other.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/frontdoor_rules` Frontdoor rules Write**

Read or replace the front door routing rules. The first enabled rule that matches decides what happens. Match by channels (call, text, email, booking), source, service, keyword, and hours (open, closed or any, from the business hours). Actions: person (alert a phone or email; empty uses the owner), receptionist (calls only), auto_reply (text with consent, otherwise email), crm_stage (pipelineId and stageId), file (no action). Leads always go to the CRM unless a file rule matches. Pass rules to replace them all, reset to restore the defaults, or nothing to read.

`rules`object[]  
`reset`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/frontdoor_reply` Frontdoor reply Approval gated**

Reply to a front door item. Without send it returns a draft in the business voice to show the owner. With send true it sends the exact message the owner approved, by text when the person may be texted (they texted or called, booked with consent, or the workspace allows texting email leads), otherwise by email. Sending checks opt-outs, business texting approval and quiet hours; a text during quiet hours waits until they end. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`itemId`stringRequired  
`message`stringRequired when send is true: the exact text the owner approved.  
`channel`"sms" | "email"  
`send`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/inbox_list` Inbox list Read**

List conversations in this workspace, newest first: one thread per contact across texts, email, calls (with transcripts and recordings), voicemail and missed calls. Each row says whether it is unread, needs a reply, who it is assigned to, and the last message. Open one with inbox_thread.

`filter`"open" | "unread" | "mine" | "unassigned" | ...open: not marked done. mine: assigned to you.  
`channel`"text" | "email" | "call" | "voicemail" | ...Only threads that include this channel.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/inbox_thread` Inbox thread Read**

Read one conversation: every text, email, call card (who answered, length, summary, transcript, recording link), voicemail and missed call with this contact, oldest first, plus the channel inbox_reply would use. Pass mark_read true when a person has seen it.

`thread`stringRequiredThe thread: the contact's phone (+18135550142) or email, as inbox_list returns it.  
`mark_read`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/inbox_reply` Inbox reply Approval gated**

Reply in a conversation. With no channel it answers the way the contact last wrote (a text gets a text, an email gets an email; after a call it texts). Pass channel to choose. Show the owner the exact words before sending. Texts check opt-outs, consent, business texting approval and quiet hours; a text in quiet hours waits until they end. The first text to a number adds "Reply STOP to opt out." (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`thread`stringRequiredThe thread: the contact's phone (+18135550142) or email, as inbox_list returns it.  
`message`stringRequiredThe exact words the owner approved.  
`channel`"text" | "email"Leave empty to answer on the channel the contact used.  
`subject`stringEmail only. Defaults to "Re:" and the last subject.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/inbox_assign` Inbox assign Write**

Assign a conversation to a team member ("me", their email or name), or pass to as null to unassign.

`thread`stringRequiredThe thread: the contact's phone (+18135550142) or email, as inbox_list returns it.  
`to`objectRequired"me", a team member's email or name, or null.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/inbox_mark` Inbox mark Write**

Mark a conversation read or unread, or done (it leaves the open list until the contact writes again).

`thread`stringRequiredThe thread: the contact's phone (+18135550142) or email, as inbox_list returns it.  
`read`boolean  
`done`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/chat_booking_get` Chat booking get Read**

Shows whether this business takes bookings in ChatGPT, Claude and Gemini, its services with length and deposit, area, hours, the cell that gets booking texts, and upcoming chat bookings.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/chat_booking_setup` Chat booking setup Write**

Sets up chat booking from what Keystone already knows about the business: front door settings, saved memory, appointment requests, the website, rank tracking places and Google Business Profile. Preserves owner choices already saved, turns it on when enough is known, and reports what still needs an owner decision. Owners and admins only.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/chat_booking_save` Chat booking save Write**

Turns chat booking on or off and saves its settings: services (name, minutes in 15-minute steps, deposit in cents, price label), town, state, ZIP, area served, hours, time zone and the verified owner cell for booking texts. Read chat_booking_get first and send every field back. Owners and admins only.

`enabled`booleanRequired  
`name`stringRequired  
`category`string  
`about`string  
`city`string  
`region`string  
`postal_code`string  
`service_area`string  
`time_zone`stringRequired  
`hours`stringRequired  
`step_minutes`object  
`lead_hours`integer  
`days_ahead`integer  
`services`object[]Required  
`notify_contact_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/chat_booking_cancel` Chat booking cancel Destructive**

Cancels one chat booking by id and opens its time again. Keystone support refunds the deposit until Stripe Connect is on. Keystone does not message the buyer; call or text them yourself.

`booking_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/text_assistant_settings` Text assistant settings Write**

Read or change the workspace text assistant. Turns texting the Keystone line on or off and chooses which assistant capabilities are allowed.

`enabled`booleanWhether verified workspace phones can text the assistant.  
`allowed_tools`"summary" | "calendar" | "leads" | "calls" | ...[]Assistant capabilities to allow: summary, calendar, leads, calls, text_customer, reminders.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gap_fill_launch` Gap fill launch Write**

A booked appointment canceled: open the slot and line up who to offer it to. Ranks the waitlist (people waiting on a later booking go first) and past customers who are due back, in waves. Nothing is sent: it returns the people, the text they would get and a page link. Offers go out only when the owner or an admin presses Send offers on that page. With a deposit, the first person to pay it gets the slot and anyone who pays after it is taken is refunded automatically. starts_at takes a local time like "YYYY-MM-DD 14:00" (read in the business time zone) or an ISO time with a zone.

`starts_at`stringRequired  
`ends_at`string  
`duration_minutes`integer  
`service`string  
`with_whom`stringThe stylist, doctor or person the appointment is with.  
`deposit_dollars`numberDeposit to claim the slot, 0 for none. Charged by card on a claim page.  
`worth_dollars`numberWhat the appointment is worth, for the money-saved total.  
`time_zone`string  
`message`stringCustom text. Must include {link} and an opt-out line. Can use {first_name}, {service}, {business}, {when}, {with}, {deposit}.  
`max_people`integer  
`wave_size`integer  
`wave_gap_minutes`integer  
`close_before_minutes`integerStop offering this many minutes before the start. Default 30.  
`overdue_weeks`integerPast customers count as due back after this many weeks. Default 8.  
`source`string  
`source_ref`stringThe canceled booking or calendar event id, so one cancellation opens one slot.  
`canceled_phone`stringThe phone of the person who canceled. They are not offered the slot.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gap_fill_status` Gap fill status Read**

Open slots from cancellations in this workspace: who was offered each one, who opened the link, who paid, and who booked it. Pass slot_id for one slot with every person.

`slot_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/gap_fill_cancel` Gap fill cancel Write**

Stop offering an open slot: no more waves go out and open card pages close. A booked slot cannot be canceled here.

`slot_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/waitlist_add` Waitlist add Write**

Add a customer to the waitlist for last-minute openings, or update them. Only add people who asked to be texted about openings. days and the earliest and latest start times limit which openings they are offered; current_booking_at marks someone holding a later appointment who wants to come in sooner.

`name`stringRequired  
`phone`stringRequired  
`asked_to_be_texted`booleanRequiredtrue: they asked to be texted when a time opens.  
`service`string  
`days`string[]  
`earliest_start`string  
`latest_start`string  
`current_booking_at`string  
`note`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/waitlist_list` Waitlist list Read**

The waitlist for last-minute openings in this workspace, with the days and times each person can come.

`include_removed`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/waitlist_remove` Waitlist remove Write**

Take a person off the waitlist. They are not offered openings again unless added back.

`waitlist_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Wallet, purchases and financing10 endpoints**

**POST `/v1/tools/financing_link` Financing link Approval gated**

Create a Wisetack customer financing link for a quote amount ($500 to $65,000) and customer using this workspace’s connected Wisetack partner credentials. Requires Wisetack partner approval. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`amount_usd`numberRequiredQuote amount in USD ($500 to $65,000).  
`customer_name`stringRequiredCustomer full name.  
`customer_phone`stringCustomer mobile phone number.  
`customer_email`stringCustomer email address.  
`quote_reference`stringEstimate, proposal, or invoice reference ID.  
`service_description`stringShort description of the quoted work.  
`estimated_completion_date`stringEstimated completion date (YYYY-MM-DD).  
`send_via`"link_only" | "sms" | "email"Return link_only, or ask Wisetack to send the application by sms or email.  
`idempotency_key`stringReuse the same key on retries so duplicate financing links are not created.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/financing_status` Financing status Read**

Check status of one financing link (refreshing live status from Wisetack when partner access is enabled) or list recent financing applications in this workspace.

`financing_id`stringKeystone financing ID (fin_...) or Wisetack application ID. Omit to list recent applications.  
`refresh`booleanWhen financing_id is provided, query Wisetack for the latest status.  
`status`"created" | "prequal_started" | "prequalified" | "pending" | ...Status filter when listing workspace applications.  
`limit`integerMaximum applications to list (1 to 50).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/wallet_status` Wallet status Read**

Shows the account wallet balance, whether a card is on file, and auto top-up settings.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/wallet_history` Wallet history Read**

Shows the receipt for the last 50 charges and credits: date, item, description, amount, and whether the wallet or the card paid. Includes formatted USD and micro-dollar amounts.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_wallet_status` Client wallet status Read**

Agency view of this client's wallet: on or off, balance, this month's billing to the client, Keystone's cost to the agency, the agency's margin, the agency's prices for each item, and the latest ledger lines. Owners and admins only.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_wallet_settings` Client wallet settings Write**

Turn this client's wallet on or off, set the balance that triggers a low-balance notice to the agency, and choose whether the agency's own wallet covers the client when their balance runs short. When on, everything Keystone charges for this client comes out of the client's wallet at the agency's prices.

`enabled`boolean  
`low_balance_usd`number  
`agency_backstop`booleanMove money from the agency's wallet when the client's balance is short.  
`agency_backstop_usd`number  
`client_auto_top_up_off`booleanTurn off the client's automatic card payments. Only the client can turn them on.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_wallet_recharge_set` Client wallet recharge set Write**

Set the recharge terms for a client wallet. The client approves them when saving a card.

`threshold_usd`numberRequired  
`amount_usd`numberRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_wallet_price_set` Client wallet price set Write**

Set the agency's price to its client for one item or every item, as a percent over the agency's cost or a fixed price per charge (never below the agency's cost). applies_to 'client' sets it for this client; 'default' sets it for every client without their own price. Pass clear: true to remove a price. Keystone's own price to the agency does not change.

`item`"*" | "instant" | "domain" | "phone_number" | ...RequiredAn item, or '*' for every item.  
`applies_to`"client" | "default"  
`percent`numberPercent over your cost, for example 40 for plus 40%.  
`fixed_usd`numberClient price per charge in dollars.  
`clear`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_wallet_fund` Client wallet fund Approval gated**

Move money from the agency's own Keystone wallet into this client's wallet. Use when the agency pays for the client and bills them itself. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`amount_usd`numberRequired  
`request_key`stringRequiredA new random value per transfer, reused only to retry the same transfer.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_wallet_receipts` Client wallet receipts Read**

This client's wallet balance and receipts at the prices the client pays. Safe to show the client. Works for client seats too.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Reports, tracking and research59 endpoints**

**POST `/v1/tools/attribution_sync` Attribution sync Write**

Refresh a lead cohort. Select one booking system and the client-specific tracker IDs. Includes workspace tracking calls, received forms and bound Google Ads spend. Replaces the exact period atomically.

`from`stringRequired  
`to`stringRequired  
`crm`"fieldpulse" | "workiz" | "housecall_pro" | "jobber" | ...Required  
`timeZone`stringBusiness time zone for CRM dates without offsets and lead cohorts. Choose the advertising account time zone.  
`trackingLabels`object[]  
`callrailCompany`string  
`whatconvertsProfile`integer  
`ctmAccount`string  
`metaAccount`string  
`localServices`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/cost_per_booked_job` Cost per booked job Read**

Preferred acquisition metric. Spend for the lead cohort divided by jobs booked within 30 days of those leads. Returns channel and campaign totals, account currencies, and name-only matches excluded for review.

`from`stringRequired  
`to`stringRequired  
`leadOffset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lead_to_revenue` Lead to revenue Read**

Trace a source-prefixed lead ID to customer, booked jobs, confidence and linked invoice amounts in source currency.

`lead`stringRequired  
`from`stringRequired  
`to`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_recommendations` Budget recommendations Read**

Compare channels by cost per booked job. Suggest a budget test when the 30-day booking window has closed and channels have comparable spend.

`from`stringRequired  
`to`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/briefing_today` Briefing today Approval gated**

Build the morning briefing for this workspace from the numbers Keystone already has: yesterday's calls answered and missed, new form leads, new reviews and the bad ones, open watchdog alerts, content waiting for approval, and ad spend against leads when ads are connected. It reads stored data only and calls no paid data service. For an account owner or admin of an agency with several clients it also builds the roll-up across all of them, with the clients that need attention first. Pass send_email to send it to the addresses in the briefing settings. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`send_email`booleanSend the briefing by email as well as showing it here.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/briefing_settings` Briefing settings Write**

Read or change the morning briefing settings: the time it arrives, the time zone it uses, the addresses that receive it and whether it is on. For an agency, set the roll-up across every client instead of one workspace.

`scope`"workspace" | "account"One workspace, or the roll-up across every client in the account.  
`enabled`booleanTurn the briefing on or off.  
`send_hour`integerThe hour it arrives, in the time zone below.  
`send_minute`integerThe minute it arrives.  
`time_zone`stringThe time zone of the business, like local time zone.  
`recipients`string[]The addresses that get the briefing. Leave it out to send it to the account owners.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/track_keywords` Track keywords Approval gated**

Save up to 100 keywords for recurring Google organic checks in a workspace. Use a city or US ZIP and choose the device and cadence. Checks are billed pay-as-you-go from the Keystone wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`domain`stringRequired  
`location`stringRequiredUS ZIP or full location name such as Atlanta,Georgia,United States.  
`device`"mobile" | "desktop"  
`engine`string  
`language`string  
`frequency`"daily" | "weekly"  
`keywords`string[]Required  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/untrack_keywords` Untrack keywords Write**

Stop recurring checks for keyword IDs from tracked_keywords. Keep saved history.

`ids`string[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/tracked_keywords` Tracked keywords Read**

List scheduled keywords, current Google organic position, ranking URL, best position, and 7- and 30-day change. Positions outside the top 100 are null. Changes use the latest observation at or before the comparison date, with unranked treated as 101.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rank_history` Rank history Read**

Get recent organic checks for one keyword ID from tracked_keywords, including the ranking URL and check status.

`id`stringRequired  
`days`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rank_report` Rank report Read**

Report ranking gains, losses, entries to the top 3 and 10, and organic share of voice against named competitor domains. Change compares successful observations.

`days`object  
`domain`string  
`competitors`string[]  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rank_check_now` Rank check now Approval gated**

Run one paid live Google organic check for a tracked keyword ID and save the result. Scheduled checks continue on their usual cadence. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`id`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/grid_track` Grid track Approval gated**

Schedule recurring Google Maps checks for a keyword around a Google Place ID. Each point is a paid search. Radius is the distance from the center to the middle of each edge in miles. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`keyword`stringRequired  
`place_id`stringRequiredGoogle Business Profile Place ID.  
`business_name`stringRequired  
`latitude`numberRequired  
`longitude`numberRequired  
`radius_miles`number  
`size`object  
`language`string  
`frequency`"daily" | "weekly"  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/grid_results` Grid results Read**

List tracked map grids or pass an ID to see the latest and previous runs, average rank among ranked points, share of checked points in the top 3, and up to three competitors per point.

`id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/grid_untrack` Grid untrack Write**

Stop recurring checks for a map grid ID from grid_results. Keep saved grid history.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/tracking_resume` Tracking resume Approval gated**

Resume scheduled rank tracking after adding wallet funds. Keystone will settle any outstanding search charges before starting new checks. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/queries_research` Queries research Approval gated**

Run and save Keystone Queries research. Choose keyword ideas or metrics, live Google results, organic competitors, ranked keywords, backlinks, or a backlink summary. Billed pay-as-you-go from the Keystone wallet. Provide a name to make the saved result easy to find. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`kind`"keyword_ideas" | "keyword_metrics" | "serp" | "competitors" | ...Required  
`query`stringRequiredA keyword for keyword ideas, keyword metrics, or search results. A domain for competitor or backlink research.  
`name`stringName for the saved run. Defaults to the research type and query.  
`market`stringCountry for keyword and competitor data, or a country or full location name for live search.  
`language`string  
`request_id`stringReuse this ID when retrying the same run to avoid another provider charge.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/queries_saved` Queries saved Read**

List saved Keystone Queries research in the current workspace, newest first. Use a result ID with queries_get to reopen a snapshot.

`kind`"keyword_ideas" | "keyword_metrics" | "serp" | "competitors" | ...  
`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/queries_get` Queries get Read**

Open a saved Keystone Queries run in this workspace. Returns the original inputs, date and available results without a new lookup.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/queries_rename` Queries rename Write**

Change the name of completed Keystone Queries research in this workspace.

`id`stringRequired  
`name`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/queries_payment_retry` Queries payment retry Approval gated**

Retry the wallet payment for a saved Keystone Queries run marked payment_due. Uses the recorded cost and returns the saved run. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`id`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/queries_pay` Queries pay Approval gated**

Compatibility alias for queries_payment_retry. Retry the wallet payment for a saved Keystone Queries run marked payment_due. Uses the recorded cost and returns the saved run. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)

`id`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/research_page_snapshot` Research page snapshot Read**

Inspect any public webpage in a single rendered page load. Returns two or more formats together: markdown, links, scraped DOM elements, accessibilityTree, HTML content, screenshot, PDF (base64), or AI-extracted JSON. Useful for competitor landing pages, service-page teardowns, and prospect audits.

`url`stringRequiredPublic http or https webpage URL to inspect.  
`formats`"content" | "screenshot" | "markdown" | "accessibilityTree" | ...[]At least two distinct formats to capture in one load (markdown, links, scrape, json, accessibilityTree, pdf, screenshot, content).  
`selectors`string[]CSS selectors to extract when scrape is included. Defaults to title, meta description, headings, tel links, forms, and JSON-LD.  
`prompt`stringExtraction instruction required when requesting the json format.  
`visible_links_only`booleanReturn only visible links when links format is requested.  
`exclude_external_links`booleanReturn only same-site links when links format is requested.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_list` Playbook list Read**

List the marketing playbooks (local SEO, Business Profile and reviews, AI search visibility, Google Ads and LSA, Meta ads, call tracking, landing pages, client reports, competitor research, reactivation, technical SEO, service pages, why calls dropped) and the playbooks this agency saved. Pass the job in plain words to get the best matches first. Call this before any marketing job, then playbook_get the best match and follow it.

`job`stringThe job in plain words, e.g. "why did calls drop" or "build a google ads campaign"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_get` Playbook get Read**

Get one playbook as markdown: when to use it, the steps with the Keystone tools to call at each step, thresholds, what good output looks like and common mistakes. Pass the id from playbook_list (a plain-language job also works).

`id`stringRequiredPlaybook id from playbook_list, e.g. "local-seo"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ai_visibility_check` AI visibility check Approval gated**

Check whether AI assistants recommend a business. With no queries: runs this client's tracked buyer questions in ChatGPT, Google AI Overviews, Google AI Mode, Perplexity and Gemini (the engines set up for it), saves the answers to the weekly history, and returns the share of answers that name the client, who was named instead and the sources cited. The weekly run is covered by the allowance the owner approved when turning tracking on; any other run asks first. Billed pay-as-you-go from the Keystone wallet. With brand, domain and queries: a one-off check (LLM mention counts, AI Overviews, ChatGPT) that saves nothing. Keep the business name out of the questions. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`brand`stringBusiness name as customers say it  
`domain`stringWebsite domain, e.g. example.com  
`queries`string[]Buyer questions as people ask an assistant, e.g. "who is the best roofing company in Tampa"  
`location_name`stringDataForSEO location for Google results, e.g. "Tampa,Florida,United States"  
`language_code`string  
`chatgpt`booleanAlso ask ChatGPT each question through DataForSEO  
`chatgpt_runs`integerAsk ChatGPT each question this many times; answers vary between runs  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/local_seo_snapshot` Local SEO snapshot Approval gated**

Local SEO snapshot for one business in one city: its Google Business Profile facts (categories, rating, review count, photos, claimed, hours), its map pack, Google Maps and organic positions for up to 5 money terms, the pack winners with their ratings and review counts, the most common competitor category, the directories Google shows for the brand name with a phone match check, and plain findings. Follow playbook local-seo. DataForSEO bills each call (2 per term plus 2); the result includes the total cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`business`stringRequiredBusiness name exactly as on the Google profile  
`domain`stringWebsite domain, e.g. example.com  
`location_name`stringRequiredCity as DataForSEO names it, e.g. "Tampa,Florida,United States"  
`keywords`string[]RequiredMoney terms, e.g. "roof replacement", "electrician near me"  
`language_code`string  
`maps_depth`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/keyword_opportunities` Keyword opportunities Approval gated**

Organic keyword opportunities for a domain against up to 3 named competitors (DataForSEO Labs, country-level data). Returns striking-distance keywords (the site ranks 4 to 20), gaps (a competitor ranks top 10, the site does not rank), and keywords where both rank but the competitor is ahead, each with volume and a score, competitor brand terms removed, plus a merged top list. Pass include_terms (services, cities) to keep only relevant keywords. Follow playbooks service-area-pages and competitor-research. DataForSEO bills each call (1 plus 2 per competitor); the result includes the total cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`domain`stringRequiredYour website domain  
`competitors`string[]RequiredCompetitor domains that rank organically (not directories)  
`location_name`stringCountry for DataForSEO Labs; a city is reduced to its country  
`language_code`string  
`include_terms`string[]Keep only keywords containing at least one of these words, e.g. ["roof", "panel upgrade", "tampa"]  
`min_volume`integer  
`limit`integerRows read per DataForSEO call  
`top`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ai_visibility_report` AI visibility report Read**

Read this client's AI search tracking: share of AI answers that name it, week by week; the latest check engine by engine; the businesses named instead and how often; the sources engines cite when they leave it out; each question with which engines named the client; open fixes; and the monthly cost estimate. Spends nothing.

`weeks`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ai_visibility_fixes` AI visibility fixes Write**

Turn this client's AI search gaps into fixes Keystone can do: answer pages with FAQ schema for questions the engines answer without the client, Business Profile completeness, review requests that mention the service, listings on the directories the engines cite, a reply for a cited forum thread, an email to a cited list, and an llms.txt file. Each fix names the Keystone tool that does it and carries a draft. With draft true, page fixes go to the content review queue as pending drafts. Nothing is published, posted or sent; those steps follow the normal approval rules. Pass fix_id with status to mark one done or dismissed.

`draft`booleanPut page drafts in the content review queue and mark the other fixes drafted  
`fix_id`string  
`status`"open" | "done" | "dismissed"With fix_id: mark that fix  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ai_visibility_setup` AI visibility setup Approval gated**

Set up weekly AI search tracking. preview true returns suggested buyer questions, the engines and the cost before anything changes. on true turns it on for this client (or every client with all_clients true): an owner or admin approves the monthly estimate, and the Account Manager's weekly Loop runs the check. on false turns it off. Pass questions, engines (chatgpt, google_ai_overview, google_ai_mode, perplexity, gemini), location_name and competitors to change them. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`preview`boolean  
`on`boolean  
`all_clients`boolean  
`questions`string[]  
`engines`"chatgpt" | "google_ai_overview" | "google_ai_mode" | "perplexity" | ...[]  
`location_name`stringLocation, e.g. "Tampa,Florida,United States"  
`competitors`string[]  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_audit` Site audit Approval gated**

Check a public page for mobile lab speed, visitor performance, technical headers, and a single-load rendered page snapshot (title, meta description, H1s, structured data, tap-to-call phone links, forms, links, and word count). A paid mobile test uses the workspace search account if the free lab is unavailable. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`url`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/report_monthly` Report monthly Write**

Generate this month's client report for the workspace: pulls calls, leads, booked jobs, ad spend, rankings, map grids, and reviews, writes a plain-English summary with the agency model, saves it to the workspace documents, and shows it in the client portal. Returns the report id and where to find it.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/prospect_audit` Prospect audit Approval gated**

Win the pitch: run live search checks on a prospect (business profile, map pack and a 5x5 map grid, organic rankings, backlinks, mobile speed, ads competitors run, AI search visibility), then produce an agency-branded report page and PDF with findings and a 90-day plan, and return a shareable link. Billed pay-as-you-go from the workspace wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`domain`stringRequiredProspect website domain, e.g. example.com  
`business_name`stringRequiredBusiness name exactly as on the Google profile  
`city`stringRequiredCity and country, e.g. "Tampa,Florida,United States"  
`keywords`string[]Money terms to check, e.g. "water heater repair". Guessed from the name when omitted.  
`place_id`stringGoogle place_id when known, improves grid matching.  
`latitude`number  
`longitude`number  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reports_list` Reports list Read**

List generated monthly reports and prospect audits for this workspace.

`kind`"monthly" | "audit"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/report_share` Report share Write**

Create a shareable link for a saved prospect audit report so it can be sent to the prospect. Monthly reports are shared through the client portal link instead.

`report_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/watchdog_status` Watchdog status Read**

Read the overnight watchdog for this workspace: the settings, the last nightly run with every check result, and the open alerts.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/watchdog_alerts` Watchdog alerts Read**

List the watchdog alerts for this workspace. Open alerts are the ones nobody has dealt with yet.

`status`"open" | "resolved" | "all"  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/watchdog_settings` Watchdog settings Write**

Read or change the watchdog settings for this workspace: turn the nightly run on or off, set the thresholds, list the form pages to check, and turn on the safe auto-fixes. Auto-fixes stay off until the agency turns them on.

`enabled`booleanTurn the nightly run on or off.  
`thresholds`object  
`auto_fix`object  
`form_urls`string[]Form pages to check every night.  
`sitemap_url`objectThe sitemap to send to Search Console after the site comes back.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/watchdog_run_now` Watchdog run now Read**

Run the overnight checks for this workspace right now and return every result. The nightly schedule does not change.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/watchdog_resolve_alert` Watchdog resolve alert Write**

Close a watchdog alert after it has been dealt with.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitors_list` Competitors list Read**

List the competitors this workspace watches, with the date each one was last checked and what changed since then.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitors_add` Competitors add Write**

Watch a named competitor for this workspace. Give the business name, its domain, the city it serves and the keywords its ads are bought for. The weekly run compares what it does against the client.

`name`stringRequiredThe competitor business name as customers know it.  
`domain`stringThe competitor website domain, e.g. example.com.  
`location_name`stringRequiredThe city the competitor serves, e.g. "Tampa,Florida,United States".  
`keywords`string[]Keywords to check its ads against, e.g. "water heater replacement".  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitors_remove` Competitors remove Write**

Stop watching a competitor in this workspace.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitor_weekly_summary` Competitor weekly summary Read**

Read the latest weekly competitor summary: new ads with the keyword and landing page, new and changed pages, review count and rating changes, and how the client stands against each competitor.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitor_snapshot_get` Competitor snapshot get Read**

Read one stored competitor snapshot without refreshing providers: the ads it was running, the pages it published, its review count and rating, and its share of voice.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitor_check` Competitor check Read**

Compatibility alias for competitor_snapshot_get. Read one stored competitor snapshot without refreshing providers: the ads it was running, the pages it published, its review count and rating, and its share of voice.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitors_refresh` Competitors refresh Read**

Refresh this workspace from connected providers now, using their lookup allowances, and return the summary. The weekly schedule does not change.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/competitor_run_now` Competitor run now Read**

Compatibility alias for competitors_refresh. Refresh this workspace from connected providers now, using their lookup allowances, and return the summary. The weekly schedule does not change.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/revenue_feedback_configure` Revenue feedback configure Write**

Read or change revenue feedback for this workspace: Keystone sends each booked, invoiced and paid job from the connected field-service app (Jobber, Housecall Pro, Workiz, FieldPulse or GorillaDesk) back to Google Ads and Meta with its dollar value, matched to the original ad click or to contact details the lead agreed to share. Pick the stage that counts as the main conversion (paid by default) and whether the value is revenue or gross profit. Each stage goes to its own Google Ads conversion action (create them with gads_create_conversion_action kind OFFLINE_LEAD). Call with no arguments to read the settings.

`enabled`booleanTurn the scheduled sends on or off.  
`field_app`"auto" | "workiz" | "fieldpulse" | "gorilladesk" | ...Field-service app to read jobs from. auto uses the only connected one.  
`primary_stage`"booked" | "invoiced" | "paid"Stage that counts as the main conversion. Default paid when the app reports payments.  
`value`"revenue" | "gross_profit"Send the job revenue, or revenue times margin_percent.  
`margin_percent`objectGross margin percent used when value is gross_profit.  
`currency`stringISO currency code of the job amounts. Default USD.  
`google_customer_id`objectGoogle Ads customer bound to this workspace. null stops Google sends.  
`google_actions`objectConversion action ID per stage. The primary stage needs one. Stages without one are not sent to Google.  
`meta`"pasted" | "connected" | "off"pasted uses the dataset ID and access token saved with connect meta_conversions. connected uses the connected Meta Ads account. off stops Meta sends.  
`meta_dataset_id`stringDataset (pixel) ID, for the connected route.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/revenue_feedback_status` Revenue feedback status Read**

Show what revenue feedback sent to Google Ads and Meta for this workspace: the last run, counts by result, and the latest sends with job, stage, value, match type and any error. Contact details never appear.

`limit`integer  
`errors_only`booleanOnly show failed sends.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/revenue_feedback_backfill` Revenue feedback backfill Approval gated**

Send booked, invoiced and paid jobs from the last 1 to 90 days that were never sent, each stage once. Dry run by default: returns counts, total value and a sample of what would go to Google Ads and Meta. Pass confirm: true to send. Meta only takes events up to 7 days old, so older stages go to Google only. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`days`integer  
`confirm`booleantrue sends. false (default) only reports what would be sent.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/customer_attribution` Customer attribution Read**

Customer card for one customer in this workspace: who they are (masked phone and email), the source that first acquired them (channel, campaign, ad, keyword, click type), every job with new or repeat and the source that brought that job in, and the lifetime value credited to the acquiring source. Find the customer by customer id, phone, email, field-service customer id, or name. With no argument, lists the top customers by lifetime value.

`customer`stringCustomer id from ltv tools or the dashboard (lc_...).  
`phone`string  
`email`string  
`app`"workiz" | "fieldpulse" | "gorilladesk" | "jobber" | ...Field-service app for app_customer_id.  
`app_customer_id`string  
`name`stringName search. Returns matches to pick from when more than one fits.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ltv_by_source` Ltv by source Read**

Lifetime value by the source that first acquired each customer, for customers whose first job is in the period: new customers, first-job revenue, lifetime value to date, 90, 180 and 365-day cohort value per customer, spend, cost per new customer (CAC), LTV:CAC and payback days. by campaign splits each channel by campaign.

`from`stringFirst day, YYYY-MM-DD. Default: 365 days before to.  
`to`stringLast day, YYYY-MM-DD. Default: today.  
`by`"channel" | "campaign"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ltv_cac_report` Ltv cac report Read**

Which channels pay back: per channel CAC, lifetime value per customer, LTV:CAC and payback days, plus revenue in the period credited two ways (to what brought each job in, and to the source that first acquired the customer). The difference column shows where last-touch reports under-credit acquisition channels such as Google Ads.

`from`stringFirst day, YYYY-MM-DD. Default: 365 days before to.  
`to`stringLast day, YYYY-MM-DD. Default: today.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/repeat_job_sources` Repeat job sources Read**

Jobs booked in the period grouped by what brought each job in (truck wrap number, past-customer texts, review requests, Google Ads and so on): total, new and repeat jobs and revenue, and for repeat jobs the sources that first acquired those customers. Shows which channels bring repeat work in and who deserves the customer credit.

`from`stringFirst day, YYYY-MM-DD. Default: 365 days before to.  
`to`stringLast day, YYYY-MM-DD. Default: today.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ltv_settings` Ltv settings Write**

Read or change lifetime attribution for this workspace. ad_feedback: off, report_only (default: shows the repeat customer value it would credit to Google Ads or Meta) or send (sends it). Repeat jobs from customers that Google Ads or Meta first acquired go to a separate repeat customer value conversion action in Google Ads (google_action_id, create one with gads_create_conversion_action) and a custom Meta event (meta_event_name), so new-customer conversions are never counted twice. Consent rules match revenue feedback. Also shows backfill progress and the latest results.

`ad_feedback`"off" | "report_only" | "send"  
`google_action_id`objectGoogle Ads conversion action id for repeat customer value. null clears it.  
`meta_event_name`stringMeta custom event name. Default RepeatCustomerValue.  
`rebuild`booleantrue rebuilds history from the start on the next cron ticks.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ltv_spend_set` Ltv spend set Write**

Record monthly spend for a channel the ad readers cannot see, such as a truck wrap, yard signs, mailers or a sponsorship, so cost per new customer and LTV:CAC cover it. Use the channel name the reports show (Truck wrap, Yard sign, Print and mail, or a tracking number label). amount 0 removes the entry.

`month`stringRequiredYYYY-MM  
`channel`stringRequired  
`campaign`string  
`amount`numberRequired  
`currency`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/market_benchmarks` Market benchmarks Read**

Shows where the current workspace stands against the market on cost per lead, cost per booked job, call answer rate and new reviews per 30 days: its own number, the market median and quartiles for its industry and metro (or the nearest wider group), and whether it is in the top quarter. Works only when the account owner has turned on outcome data sharing.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**API Anything apps and saved logins14 endpoints**

**POST `/v1/tools/logins_list` Logins list Read**

Lists the logins saved in this workspace: app name, sign-in page, masked username, two-factor method, whether it is turned on, and the owner's notes on where things are in the app. Never returns passwords or codes. To have Keystone sign in to any web app by itself and turn its jobs into tools, use API Anything (anything_app_add, anything_learn, anything_run).

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/login_use` Login use Write**

Hands ONE saved login in this workspace to API Anything, so Keystone signs in to that app by itself on a Keystone Computer, handles the authenticator code and keeps the session. Keystone never returns the username, password or code to you: you work in the app through Keystone tools (anything_learn to teach a job, anything_run to do it). Every call is recorded in the workspace audit trail with your reason, and each workspace gets 10 calls per 15 minutes.

`app`stringRequiredApp name as shown by logins_list, or its id.  
`reason`stringRequiredWhat you want to do in the app, in a few words. Saved in the audit trail.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/computer_use_guide` Computer use guide Read**

Short, practical steps for signing in to apps with no API using computer use: in Claude with Claude in Chrome, in ChatGPT agent mode, or with a browser agent on the person's own computer. Lists this workspace's saved logins and the safety rules for login_use. Call it before the first sign-in.

`client`"claude" | "chatgpt" | "local"Only the steps for one AI client. Omit for all three.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_app_add` Anything app add Write**

API Anything: add any web app, even one with no API. Keystone gets its own login for the app, handles two-factor codes, learns the app and turns jobs into tools. access "invite" (best): Keystone creates the app entry and returns exact steps for the person to add a user for the Keystone email (and Keystone phone number for codes) in that app; Keystone accepts the invite, sets a strong password and signs in by itself. access "login": returns a secure page link where the person types an existing login. Never ask for passwords in chat.

`app`stringRequiredApp name, for example the field-service or back-office app the business uses.  
`loginUrl`stringRequiredThe web address of the app's sign-in page.  
`access`"invite" | "login"invite: the person adds Keystone as a user. login: the person shares a login on a secure page.  
`extraSites`string[]Other web addresses the app itself uses, if its pages live on more than one site.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_apps` Anything apps Read**

API Anything: lists this workspace's Keystone identity (email and phone for app invites), the apps Keystone signs in to with their status, and the tools learned for each app with their inputs, risk and review status. Never returns passwords, codes or cookies.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_learn` Anything learn Write**

API Anything: teaches Keystone one or more jobs in an added app, for example "list today's calls" or "create a daily log for a job". Keystone signs in on a Keystone Computer, explores the app, and records each job as a step-by-step script with checks and a short doc. Each becomes a draft tool that a person reviews before it goes live. Learning runs in the background and takes a few minutes per job; check with anything_apps.

`app`stringRequiredApp name or id from anything_apps.  
`jobs`string[]RequiredEach job in plain words, including what to return or what to fill in.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_show` Anything show Read**

API Anything, Show it once: the fastest way to teach a job. Returns a link where the person does the task one time in a live Keystone Computer window, already signed in to the app, while Keystone records it. About two minutes later the job is a tool with named inputs (for example add_client_note with name and note) and plain-English steps, waiting for the person to turn it on. Use this instead of anything_learn when the person knows how the task is done, when it depends on how this business uses the app, or when learning alone failed. Pass tool to add another example to a tool that exists: doing it again with different values teaches what changes between runs. Passwords and codes typed during a recording are never recorded and never become inputs. Uses computer time while the window is open.

`app`stringRequiredApp name or id from anything_apps.  
`goal`stringWhat the person will show, in a few words, for example "Add a note to a client".  
`tool`stringAn existing tool name, to teach it another example.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_tool_review` Anything tool review Write**

API Anything: shows a learned tool for review (what it does, inputs, risk, each step and any proposed fix), or rejects a draft or a fix. Approving and turning a tool on happens only on the API Anything page, by a person.

`tool`stringRequiredTool name from anything_apps.  
`action`"show" | "reject_draft" | "reject_fix"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_run` Anything run Destructive**

API Anything: runs a live learned tool (from anything_apps, for example a "list calls" or "create daily log" tool) on a Keystone Computer and returns structured results. Tools that change data first answer with a summary and a confirm code: tell the person what will happen, wait for a yes, then call again with the confirm code. When the app moved or renamed a button, the run finds it again and finishes; the answer then lists what it adapted to under "adapted", and the new way waits for a person to approve. If a step still fails, Keystone saves a screenshot and prepares a fix for a person to review; it never changes a live tool by itself. To look up several things at once with a read-only tool, pass many (up to 5 sets of inputs): each runs on its own computer at the same time. Uses computer time (see computers_usage).

`tool`stringRequiredExact tool name from anything_apps.  
`params`objectInputs listed for the tool in anything_apps.  
`confirm`stringConfirm code from the first call, after the person said yes.  
`many`object[]Read-only tools only: several sets of inputs to run side by side. Leave params empty when you use this.  
`runner`"cloud" | "my_browser"my_browser: run in the person's own connected Chrome, where they are already signed in. Use it when the app turns Keystone Computers away or texts codes to the person's phone. Keystone also falls back to it by itself when the cloud run cannot sign in.  
`job`stringA job id from an earlier answer that said the run is waiting for the person's Chrome. Pass it alone to get the result.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/computers_usage` Computers usage Read**

Keystone Computers: this month's computer hours used, hours included, extra hours and their cost, when the month renews, and the latest sessions. Keystone Computers cost $15 a month per workspace with 15 hours included, then $0.20 an hour.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/computers_settings` Computers settings Approval gated**

Keystone Computers: turns the add-on on or off for this workspace. Turning it on charges $15 to the card on file now and monthly after that (trial accounts get 2 free hours instead). Before turning it on, tell the person the price and wait for an explicit yes, then pass confirm true. Turning it off stops renewal; the paid month stays usable. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`on`booleanRequiredtrue to turn on, false to turn off.  
`confirm`booleantrue only after the person explicitly agreed to the $15 monthly charge.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_identity_get` Anything identity get Read**

API Anything: shows the Keystone user for this workspace: display name, email address, custom domain setup with the exact records or forwarding steps, addresses that still forward during a changeover, and the enrolled apps whose Keystone login email should be updated after a rename. Owner or admin only.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/anything_identity_set` Anything identity set Write**

API Anything: changes the Keystone user. Owner or admin only. Set a display name, choose the mailbox name on the Keystone mail domain (for example localPart "ops-larkspur"), or move to the business's own domain (domain plus localPart, for example keystone@larkspurstudio.com). For a controlled domain Keystone sets up inbound mail automatically; otherwise the reply lists exact forwarding steps and MX records. After a rename the old address keeps receiving mail for 30 days. Pass check true to verify a custom address once the records or forwarding are in place.

`displayName`stringName apps show for the Keystone user, for example "Larkspur Studio AI".  
`localPart`stringThe part before the @, lowercase letters, digits, dots, dashes and underscores.  
`domain`stringCustom domain for the address, for example larkspurstudio.com. Omit to use the Keystone mail domain.  
`check`booleantrue only to verify a pending custom address instead of changing anything.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/computer_view` Computer view Read**

Keystone Computers: the latest screen of an API Anything session, so the person can watch the computer work. Omit session for the newest session in this workspace. Passwords and codes are masked before a screen is saved. In AI apps that show cards it refreshes while the session runs.

`session`stringComputer session id. Omit for the newest one.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Memory and documents9 endpoints**

**POST `/v1/tools/memory_save` Memory save Write**

Save a client memory, or choose account for agency-wide facts and preferences.

`text`stringRequired  
`kind`"fact" | "decision" | "preference" | "note"Required  
`tags`string[]  
`level`"workspace" | "account"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/memory_list` Memory list Read**

List recent memories. Includes the current workspace and its account by default.

`level`"workspace" | "account"  
`kind`"fact" | "decision" | "preference" | "note"  
`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/memory_search` Memory search Read**

Search memories and documents by keyword and meaning. Higher scores indicate closer matches.

`level`"workspace" | "account"  
`kind`"fact" | "decision" | "preference" | "note"  
`limit`integer  
`offset`integer  
`query`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/memory_forget` Memory forget Destructive**

Delete one memory by id and level.

`id`stringRequired  
`level`"workspace" | "account"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/docs_save` Docs save Write**

Save a report, audit or document in the workspace library.

`title`stringRequired  
`folder`string  
`content`stringRequired  
`format`"markdown" | "text"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/docs_list` Docs list Read**

List recent documents in the workspace.

`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/docs_search` Docs search Read**

Search document titles, folders and indexed text by relevance.

`query`stringRequired  
`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/docs_get` Docs get Read**

Read a document or extracted upload text and get its dashboard download link.

`id`stringRequired  
`offset`integerCharacter offset for the next page of text.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/docs_delete` Docs delete Destructive**

Delete a workspace document and its file.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Notebook and AI rules21 endpoints**

**POST `/v1/tools/notebook_search` Notebook search Read**

Search the notebook by keyword and meaning. Returns notes with path, title, tags, a snippet and a score. Leave out query to list recent notes. Searches the workspace and the account notebook by default.

`query`string  
`folder`stringOnly this folder and its subfolders, e.g. "Clients".  
`tag`string  
`level`"workspace" | "account" | "both"  
`limit`integer  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_read` Notebook read Read**

Read one note by path, file name or title, with its frontmatter, tags, links, backlinks and app link. Pass history to list versions, or version to read an old one. Long notes come in pages of 16,000 characters.

`note`stringRequired  
`level`"workspace" | "account"workspace: this business. account: the notebook shared by every workspace in the account.  
`version`integer  
`history`boolean  
`offset`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_write` Notebook write Write**

Write a note in markdown (frontmatter, [[wikilinks]] and #tags work as in Obsidian). mode replace, append or prepend. Pass daily to add to today's daily note, decision to record a decision in Decisions, or restore_version to put an old version back. Every save keeps a version.

`path`stringFolder path and name, e.g. "Clients/Acme Dental" or "Campaigns/Spring offer". .md is added.  
`content`string  
`mode`"replace" | "append" | "prepend"  
`daily`booleanAdd content to today's daily note (Daily/YYYY-MM-DD).  
`decision`stringOne decision and the reason, added as a dated line in Decisions.  
`expected_version`integerThe version you read. The write fails if the note changed since.  
`restore_version`integer  
`level`"workspace" | "account"workspace: this business. account: the notebook shared by every workspace in the account.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_link` Notebook link Write**

Link one note to another by adding a [[wikilink]] under a Related heading of the first note, with an extra relation such as "client of" or "replaces". The target may not exist yet; the link starts working when it does.

`from`stringRequired  
`to`stringRequired  
`relation`string  
`level`"workspace" | "account"workspace: this business. account: the notebook shared by every workspace in the account.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_graph` Notebook graph Read**

The notebook as a link graph. mode overview: counts, best connected notes, orphans and links to missing notes. node: one note with its links, backlinks and notes sharing its tags. path: the shortest chain of links between two notes (up to 8). topic: notes about a subject grouped by folder or tag.

`mode`"overview" | "node" | "path" | "topic"  
`note`stringFor node.  
`from`stringFor path.  
`to`stringFor path.  
`query`stringFor topic.  
`by`"folder" | "tag"  
`limit`integer  
`level`"workspace" | "account"workspace: this business. account: the notebook shared by every workspace in the account.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_rules_get` Notebook rules get Read**

The rules this business set for its AI (AGENTS.md): the account rules and the current workspace rules. Read them at the start of every job and after switching workspace, and follow them.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_rules_set` Notebook rules set Write**

Replace the AGENTS.md rules for this workspace or, with level account, for every workspace. Owners and admins only. Show the person the full new text and get their yes first. Old versions stay in history.

`level`"workspace" | "account"workspace: this business. account: the notebook shared by every workspace in the account.  
`text`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_writer_setup` Notebook writer setup Approval gated**

Set up the notebook that writes itself. preview true returns the sources it would read and the weekly cost before anything changes. on true turns it on (owners and admins approve the weekly allowance); on false turns it off and keeps every page. Sources: call, text, email, booking, voice (calls Keystone made), job, review, deal (deal rooms), memory (saved client facts), action (work Keystone did). Keystone AI reads calls, texts, emails, bookings and reviews; the rest file at no charge. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`preview`boolean  
`on`boolean  
`sources`"call" | "text" | "email" | "booking" | ...[]  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_writer_run` Notebook writer run Approval gated**

File what is new now: calls, texts, emails, bookings, jobs, reviews, deal rooms, saved client facts and work Keystone did, into one page per customer, client and topic, each line citing its source. Covered by the weekly allowance when the writer is on; otherwise it asks first. Returns what was filed, what the privacy filter held back and what it cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_writer_status` Notebook writer status Read**

Whether the notebook writer is on for this workspace, its sources, weekly allowance and spend, page and line counts, open promises and the last run. Spends nothing.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_changes` Notebook changes Read**

What the notebook writer added or changed in the last seven days, page by page: new lines with their citations, lines that gained a source, promises made and kept, and what the privacy filter held back.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_about` Notebook about Read**

Everything on file about one customer or client, by name, phone or email ("the Millers", "813-555-0142"): open promises with due days, what we know (prices quoted, preferences, problems), the timeline and promises kept. Every line carries its citation. Use it before calling, texting or quoting anyone.

`who`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_fact` Notebook fact Read**

One notebook line and every source behind it: which call, text, email, job, review or deal room, when, and the passage it came from. Pass the line id from a citation link (/notebook/fact/<id>).

`fact`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_fact_edit` Notebook fact edit Write**

Change one line the writer wrote. text replaces its words and locks it, so the writer never changes it again. lock true or false locks or frees it. hide true takes it off the page for good (the writer will not add it back); hide false brings it back. done marks a promise kept or open. revert puts the writer's words back.

`fact`stringRequired  
`text`string  
`lock`boolean  
`hide`boolean  
`done`boolean  
`revert`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/notebook_page_restrict` Notebook page restrict Write**

Restrict a customer or client page (owners and admins). A restricted page is taken out of the notebook, out of search and out of every AI answer, and the writer stops writing it. restricted false brings it back.

`who`stringRequired  
`restricted`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skills_search` Skills search Read**

Find saved skills (reusable jobs) by what they do. Returns each skill's name, description, where it is and whether it needs review. Leave out query to list them. Call it before a multi-step job, then skill_run the best match.

`query`string  
`level`"workspace" | "account" | "both"  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skill_get` Skill get Read**

Read one skill: when to use it, inputs, steps, the Keystone tools it calls with their risk, examples, version, where it came from and whether it needs review. Older versions are in notebook_read with history.

`name`stringRequiredThe skill name, e.g. "map-pack-check".  
`level`"workspace" | "account" | "both"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skill_save` Skill save Write**

Save a job that worked as a reusable skill (a SKILL.md note under Skills/ in the notebook; every save keeps a version). Use after a multi-step job the person was happy with, once they agree. Give when to use it, the inputs you had to ask for, the steps in order with the Keystone tools each used, and an example request. Pass expected_version to update one you read. Never include keys, passwords or personal data.

`name`stringRequiredShort name; Keystone makes it lowercase-with-hyphens.  
`title`string  
`description`stringRequiredWhat it does and when to use it, in one or two sentences. This is how the AI finds it later.  
`when_to_use`string  
`inputs`object[]  
`steps`object[]Required  
`examples`string[]  
`notes`stringPitfalls or checks worth keeping, saved under "Notes".  
`level`"workspace" | "account"workspace: this business. account: the skills shared by every workspace in the account (agency skills).  
`expected_version`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skill_run` Skill run Read**

Start a saved skill: checks its inputs and review state, then returns the steps to follow with the Keystone tools each step calls. It runs nothing itself; you call each tool, and Keystone's permission and approval checks apply as usual. Answers needs_inputs with what to ask the person, or needs_review with a link when a person must review an imported skill first.

`name`stringRequiredThe skill name, e.g. "map-pack-check".  
`inputs`object  
`level`"workspace" | "account" | "both"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skill_import` Skill import Write**

Bring in a skill written for Claude, OpenClaw, Hermes or any agent that reads SKILL.md. Pass the SKILL.md text, or an https link to one (GitHub and raw links work). Keystone checks it first: it refuses skills that hold secrets, try to reveal keys, send data to outside addresses, skip approvals or run shell commands, and maps the tools it names to Keystone tools. The saved copy is data: it cannot use tools that change, send or spend until a person reviews it.

`content`string  
`url`string  
`name`stringSave under this name instead of the one in the file.  
`level`"workspace" | "account"workspace: this business. account: the skills shared by every workspace in the account (agency skills).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skill_export` Skill export Read**

Export a skill as SKILL.md for another agent: flavor keystone, agentskills, claude, openclaw, hermes (agentskills is the open format; claude lists only read tools in allowed-tools, since Claude Code runs those without asking). Pass playbook instead of name to export a saved or built-in playbook as a skill. Returns the folder path and file text, and a link to download every skill as a zip.

`name`string  
`playbook`string  
`flavor`"keystone" | "agentskills" | "claude" | "openclaw" | ...  
`level`"workspace" | "account" | "both"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Sites and forms33 endpoints**

**POST `/v1/tools/site_create` Site create Write**

Creates a website in the current workspace with the editor (Keystone Sites): its own database and media library, a designed theme, starter pages built from the facts you pass, a contact form that sends leads to the CRM with spam protection, and a live HTTPS address. Pass pages to write your own pages instead of the starter set. Use engine "static" only to import finished HTML with site_deploy.

`name`stringRequiredBusiness or site name, e.g. "Oakridge Realty".  
`slug`stringURL-safe slug within this workspace. Generated from name if omitted.  
`engine`"emdash" | "static"emdash (default): site with the editor. static: upload files with site_deploy.  
`theme`"meridian" | "atelier" | "harbor"meridian: clear and confident (professional services, clinics, agencies, software). atelier: editorial and quiet (salons, boutiques, restaurants, architects). harbor: warm and energetic (fitness, cafes, schools, community groups). Default meridian.  
`brand_color`stringBrand color as #rrggbb.  
`facts`objectTrue facts about the business for the starter pages. Leave out anything you do not know.  
`pages`object[]Your own pages as theme sections (slug "home" is the home page). Published on creation.  
`lead_emails`string[]Who gets an email for each lead. Default: you.  
`framework`"static" | "astro"Static sites only: static HTML or built Astro output.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_deploy` Site deploy Write**

Deploys static HTML or built Astro output to a site in the current workspace from either a files map (path to text or base64 content) or the key of a ZIP archive uploaded to this workspace.

`site`stringRequiredSite id or slug from site_create or site_list.  
`files`objectMap of POSIX path (e.g. "index.html", "_astro/app.css") to UTF-8 text or { content, encoding: "base64" }.  
`archiveKey`stringKey of a ZIP archive uploaded to this workspace.  
`stripPrefix`stringTop-level folder prefix to strip from file paths, e.g. "dist".  
`framework`"static" | "astro"Framework label update.  
`notFoundHandling`"404-page" | "single-page-application" | "none"How unmatched routes are handled (default 404-page, serving /404.html when present).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_list` Site list Read**

Lists every hosted site in the current workspace with its live URL, deployment state, and attached custom domains.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_get` Site get Read**

Returns one site in the current workspace, including attached custom domains with SSL status and recent deployments.

`site`stringRequiredSite id or slug.  
`refreshSsl`booleanSet true to fetch live SSL and hostname verification status for attached custom domains.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_delete` Site delete Destructive**

Permanently deletes a site in the current workspace along with its live deployment and attached custom hostname routes.

`site`stringRequiredSite id or slug to delete.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_domain_attach` Site domain attach Write**

Attaches a custom domain (with automated SSL) to a site in the current workspace and returns DNS setup records and current SSL status. Calling again refreshes SSL status.

`site`stringRequiredSite id or slug in the current workspace.  
`hostname`stringRequiredCustom hostname to attach, e.g. "www.example.com" or "example.com".  
`validationMethod`"txt" | "http"SSL validation method (default txt).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/domain_search` Domain search Read**

Checks live domain availability and registration prices. Pass a keyword or domain in query, or up to 20 explicit domains.

`query`stringBusiness name or domain to check, e.g. "oakridge realty" or "oakridgerealty.com".  
`domains`string[]Up to 20 explicit domains to check authoritatively.  
`tlds`string[]TLD extensions to check, e.g. ["com", "net", "co"].  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/domain_buy` Domain buy Approval gated**

Charges the card on file for the quoted registration price, then registers the domain in the current workspace. Refunds automatically if registration fails. Pass maxPriceUsd from domain_search to cap the charge. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`registrant`objectRequiredRegistrant contact details for this domain.  
`domain`stringRequiredExact available domain to buy, e.g. "oakridgerealty.com".  
`years`integerRegistration length in years (1 to 10, default 1).  
`autoRenew`booleanEnable registrar auto-renewal (default false).  
`maxPriceUsd`numberMaximum customer price in USD; aborts before charging if exceeded.  
`idempotencyKey`stringStable retry key to prevent duplicate charges if a request is retried.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/domain_list` Domain list Read**

Lists every domain registered in the current workspace with status, price paid, and expiration.

`includeFailed`booleanInclude failed or refunded registration attempts (default false).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/dns_records` DNS records Write**

Lists, creates, updates, or deletes DNS records for a domain registered in the current workspace.

`domain`stringRequiredDomain registered in the current workspace.  
`action`"list" | "create" | "update" | "delete"DNS operation to perform (default list).  
`recordId`stringRecord id (required for update and delete).  
`type`"A" | "AAAA" | "CNAME" | "TXT" | ...DNS record type (required for create and update).  
`name`stringRecord name, "@" for apex, or subdomain relative to the domain.  
`content`stringRecord target or value.  
`ttl`integerTTL in seconds, or 1 for automatic (default 1).  
`priority`integerPriority for MX or SRV records.  
`proxied`booleanProxy traffic for A, AAAA, or CNAME records (default false).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_analytics` Site analytics Read**

Reports built-in privacy-safe analytics for one hosted site over 7, 30 or 90 days: visitors, page views, named sources, top pages, devices, countries, conversions (forms and taps on call and booking links) and conversion rate by source, and calls to tracking numbers counted apart by number. Works without Google Analytics.

`site`stringRequiredSite id or slug.  
`days`objectReporting period in days: 7, 30 or 90.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_analytics_detailed` Site analytics detailed Write**

Turns detailed first-party analytics on or off for a hosted site. When on, the edge serves a sub-1KB no-cookie script from the site domain that measures sessions, visit duration, tap-to-call clicks and booking-link clicks. Basic page views are counted either way.

`site`stringRequiredSite id or slug.  
`enabled`booleanRequiredTrue to enable detailed measurement, false to disable it.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_add_search_console` Site add search console Write**

Adds Google Search Console to a hosted site as one agent job. Keystone verifies ownership through the site tag, delegates access to the workspace identity, submits the sitemap and checks indexing. If Google sign-in is required, the result is a sign-in link; after the person approves, Keystone finishes the job without asking for a property or verification code.

`site`stringRequiredSite id or slug.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_add_google_analytics` Site add google analytics Write**

Adds Google Analytics to a hosted site as one agent job. Keystone creates or reuses a GA4 property and web stream, injects the tag at the edge with consent mode denied by default, and checks the live page. If Google sign-in is required, the result is a sign-in link; after the person approves, Keystone finishes the job without asking for a property or measurement ID. Pass remove true to remove it in one step.

`site`stringRequiredSite id or slug.  
`displayName`stringextra Analytics property display name when creating one. Omit it to use the site name.  
`timeZone`stringAnalytics reporting time zone when creating a property (default local time zone).  
`remove`booleanSet true to remove Google Analytics injection from the site.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_pages_list` Site pages list Read**

Lists the pages of a site that has the editor, with status, live URL and whether each has unpublished changes.

`site`stringRequiredSite id or slug from site_list.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_page_get` Site page get Read**

Returns one page as editable sections (the same shape site_page_upsert takes), including unpublished draft changes.

`site`stringRequiredSite id or slug from site_list.  
`page`stringRequiredPage slug (home for the home page) or id.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_page_upsert` Site page upsert Write**

Creates or changes a page as a draft. Pass the whole page as sections (hero, features, split, stats, testimonials, pricing, faq, logos, cta, text, contact_form); each renders with the site theme. Read the page with site_page_get first to edit it. Nothing goes live until site_publish.

`site`stringRequiredSite id or slug from site_list.  
`slug`stringRequired  
`title`stringRequired  
`sections`object[]RequiredPage sections in order. Each renders with the site theme; never send HTML.  
`seo_description`stringSearch result description, up to 160 characters.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_media_upload` Site media upload Write**

Adds an image to a site media library from a public https URL or base64 content. Returns media_id for image fields in site_page_upsert.

`site`stringRequiredSite id or slug from site_list.  
`url`string  
`content_base64`stringImage bytes as base64, up to 10 MB.  
`filename`string  
`alt`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_menu_set` Site menu set Write**

Replaces the items of a site menu. primary is the header (mark one item button: true for the header button, such as a phone number); footer_product, footer_company and footer_support are the footer columns. Menus change on the live site right away.

`site`stringRequiredSite id or slug from site_list.  
`menu`"primary" | "footer_product" | "footer_company" | "footer_support"Required  
`label`stringColumn heading for footer menus.  
`items`object[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_publish` Site publish Approval gated**

Publishes draft changes so they go live. Pass the page slugs, or omit pages to publish every page that has unpublished changes. Asks the person to approve first. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`site`stringRequiredSite id or slug from site_list.  
`pages`string[]  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_convert_to_cms` Site convert to cms Write**

Adds the editor to a site: its own database, media library, contact form with spam protection, and a designed theme. A static site keeps its URL and domains; its live pages are copied in as editable pages. Also finishes an editor setup that stopped partway.

`site`stringRequiredSite id or slug from site_list.  
`theme`"meridian" | "atelier" | "harbor"Starter theme. meridian: clear and confident (professional services, clinics, agencies). atelier: editorial and quiet (salons, boutiques, restaurants, studios). harbor: warm and energetic (fitness, cafes, schools, community groups).  
`brand_color`stringBrand color as #rrggbb for buttons and accents.  
`facts`objectFacts for the starter pages. Only pass what is true for this business.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/site_settings_set` Site settings set Write**

Changes a site theme, brand color, or who gets an email for each lead from its contact form. Theme and color changes go live in about a minute.

`site`stringRequiredSite id or slug from site_list.  
`theme`"meridian" | "atelier" | "harbor"Starter theme. meridian: clear and confident (professional services, clinics, agencies). atelier: editorial and quiet (salons, boutiques, restaurants, studios). harbor: warm and energetic (fitness, cafes, schools, community groups).  
`brand_color`object#rrggbb, or "" to use the theme color.  
`lead_emails`string[]Addresses that get each lead. Empty list: the site creator.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_create` Form create Write**

Create a lead capture form for this workspace with fields, validation, thank-you message or redirect URL, and CRM or webhook routing. Returns the public endpoint and embed snippets. Webhook signing secrets are managed on the workspace forms page.

`name`stringRequiredForm name, such as "Consultation Request".  
`fields`object[]RequiredOrdered list of form fields (name, label, type, required, placeholder, options).  
`thank_you_message`stringMessage shown after a successful submission.  
`redirect_url`stringhttps:// URL to redirect visitors after submission.  
`crm`"auto" | "serviceline_crm" | "highlevel_location" | "hubspot" | ...Destination CRM: auto (included ServiceLine CRM when on, else connected CRM or dashboard fallback), serviceline_crm, highlevel_location, hubspot, jobber, housecall_pro, webhook, or dashboard.  
`pipeline_id`stringCRM pipeline ID for opportunities or deals.  
`stage_id`stringCRM pipeline stage ID or dealstage ID.  
`tags`string[]Tags to apply to the created contact or lead.  
`source`stringLead source label sent to the CRM.  
`create_deal`booleanCreate a deal or opportunity in addition to the contact.  
`monetary_value`numberDefault lead value for deals and conversion tracking.  
`currency`string3-letter ISO currency code, such as USD.  
`webhook_url`stringhttps:// webhook URL signed with X-Keystone-Signature.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_embed` Form embed Read**

Get the drop-in script tag and plain HTML form snippet for a form in this workspace. Both post to Keystone, capture UTM and click-ID attribution, and fire configured GA4 and Google Ads conversions.

`form`stringRequiredForm ID (frm_...) or form slug in this workspace.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_list` Form list Read**

List forms in this workspace with routing, submission counts, failed delivery counts, and tracking setup.

`include_archived`booleanInclude archived forms.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_submissions` Form submissions Read**

List recent form submissions in this workspace with submitted fields, UTM and click-ID attribution, and full CRM, webhook, and server-side conversion delivery logs.

`form`stringForm ID or slug to filter by.  
`status`"pending" | "delivered" | "retrying" | "failed" | ...Delivery status filter.  
`limit`integerMaximum submissions to return (1 to 100).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_update` Form update Write**

Update a form in this workspace: change status (active, paused, archived), fields, thank-you message, redirect URL, or CRM routing.

`form`stringRequiredForm ID or slug in this workspace.  
`name`string  
`status`"active" | "paused" | "archived"  
`fields`object[]  
`thank_you_message`string  
`redirect_url`object  
`crm`"auto" | "serviceline_crm" | "highlevel_location" | "hubspot" | ...  
`pipeline_id`object  
`stage_id`object  
`tags`string[]  
`source`object  
`create_deal`boolean  
`monetary_value`object  
`currency`string  
`webhook_url`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_tracking_configure` Form tracking configure Write**

Configure GA4 and Google Ads conversion tracking for forms in this workspace. Sets client-side gtag IDs and server-side Google Ads offline click conversion settings. To add the GA4 Measurement Protocol API secret without pasting it in chat, open the returned tracking settings URL.

`ga4_measurement_id`objectGA4 web stream Measurement ID, such as G-XXXXXXXXXX.  
`ga4_event_name`stringGA4 event name fired on submission (default generate_lead).  
`google_ads_conversion_id`objectGoogle Ads tag ID, such as AW-1234567890.  
`google_ads_conversion_label`objectGoogle Ads conversion label for client-side gtag.  
`google_ads_customer_id`objectBound Google Ads 10-digit customer ID for server-side offline click conversions.  
`google_ads_conversion_action_id`objectGoogle Ads conversion action ID for offline click conversions.  
`default_value`objectDefault conversion value per lead.  
`currency`string3-letter ISO currency code (default USD).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/form_submission_resend` Form submission resend Approval gated**

Re-deliver one captured form submission in this workspace to its CRM, webhook, or server-side conversion target. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`submission_id`stringRequiredSubmission ID (sub_...) in this workspace.  
`delivery_id`stringSingle delivery ID (del_...) to retry.  
`include_conversions`booleanAlso re-send server-side conversion events.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/portal_link` Portal link Write**

Create (or return the status of) the shareable live client portal link for this workspace. Anyone with the link sees a read-only, agency-branded page of calls, leads, booked jobs, ad spend, rankings, map grids, and reviews. No Keystone login needed. Revoke with portal_revoke. The raw URL is only returned once, when it is created.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/portal_links` Portal links Read**

List share links for this workspace: live portal links and shared audit report links, with created and last-viewed times. Raw tokens are never stored, so existing URLs cannot be shown again.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/portal_revoke` Portal revoke Destructive**

Revoke a share link for this workspace by link id so its URL stops working immediately.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/branding_set` Branding set Write**

Set the agency brand shown on client portals and reports: display name and hex color. The logo is uploaded on the portal settings page in the dashboard.

`name`stringAgency display name.  
`color`stringBrand accent as a hex color like #2563eb.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Playbooks, marketplace and client setup53 endpoints**

**POST `/v1/tools/playbook_run_all` Playbook run all Read**

Agency only. Runs one playbook across many client workspaces in the account: all of them, or only clients with a tag, a connected app or a plan label. It runs read and audit steps and returns one report per client. Any step that writes, sends, spends or deletes is never run in bulk; it waits per client in the approval queue. The run is worked through the background queue, a few clients at a time, so pass workspaces, then call playbook_run_status with the run id.

`playbook`stringRequiredA built-in playbook id or an agency playbook id or name.  
`workspaces`objectRequired  
`max_workspaces`integerStop the run after this many clients.  
`max_calls_per_workspace`integerCap on read tool calls per client for this run.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_run_status` Playbook run status Read**

Agency only. Shows one fleet run: its status, clients done, clients failed, proposals waiting, and each client report. Pass workspace_id to read one client in detail. Call it after playbook_run_all until the run finishes.

`run_id`stringRequiredRun id returned by playbook_run_all.  
`workspace_id`stringRead one client in detail.  
`include_findings`booleanInclude the step findings for every client.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_proposals` Playbook proposals Read**

Agency only. Lists the per-client approval queue for a fleet run or the whole account. Every write, send, money or destructive step lands here instead of running in bulk, and so does a read step that still needs a client value.

`run_id`string  
`workspace_id`string  
`status`"pending" | "approved" | "rejected" | "executed" | ...  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_proposal_decide` Playbook proposal decide Write**

Agency only. Approves or rejects one proposal for one client. Approving runs the real step in that workspace, so it can send a message, spend money or change data. Ask the person first and pass confirm true. Pass args only to fill values the run could not work out.

`id`stringRequiredProposal id from playbook_proposals.  
`action`"approve" | "reject"Required  
`confirm`booleanMust be true to approve.  
`args`objectValues to merge into the proposed tool call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_save` Playbook save Write**

Agency only. Saves a playbook the agency owns: a name, steps in plain English, the tools each step may use and whether it runs automatically or waits for approval. Pass id to update an existing playbook. Saved playbooks run with playbook_run_all and can be read with playbook_get.

`id`stringUpdate this saved playbook.  
`name`stringRequired  
`summary`stringOne line on when to use it.  
`steps`object[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/playbook_delete` Playbook delete Write**

Agency only. Deletes one playbook saved by this agency. Built-in playbooks cannot be deleted. Runs already started keep their own copy of the steps.

`id`stringRequiredSaved playbook id, slug or name.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workspace_labels` Workspace labels Read**

Agency only. Lists the labels on every client workspace: its tags, plan label and the location, keywords, time zone and connection ids used when a fleet step needs them. Use these labels to choose clients in playbook_run_all.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workspace_label_set` Workspace label set Write**

Agency only. Sets the tags and plan label on one client workspace, plus the city, money keywords, time zone and connection ids a fleet run should use when a step needs them. Pass the workspace argument to choose the client.

`tags`string[]Replace the tags. Pass an empty list to clear them. Omit to keep them.  
`plan`stringYour service plan label, such as retainer or project.  
`location`stringCity and country, such as Tampa,Florida,United States.  
`keywords`string[]Replace the money terms. Pass an empty list to clear them. Omit to keep them.  
`timezone`string  
`crm`stringBooking system slug, such as fieldpulse or jobber.  
`gsc_site`stringSearch Console property, when it differs from the website.  
`gbp_account`stringBusiness Profile account id for this client.  
`gbp_location`stringBusiness Profile location id for this client.  
`gads_customer_id`stringGoogle Ads customer id for this client, digits only.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agency_benchmarks` Agency benchmarks Read**

Agency only. Compares this agency's own clients on cost per lead, cost per booked job, call answer rate, review rating, new reviews per 30 days and map rank average. Returns each client's rank among the agency's clients and, for the best client on each metric, the playbook run or approved step that came before it. Never mixes clients from another account.

`days`integerPeriod to compare, in days.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/marketplace_search` Marketplace search Read**

Find approved playbooks and preview their steps and USD prices.

`query`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/marketplace_publish` Marketplace publish Write**

Submit a saved agency playbook or an updated edition for review. The sample output is public.

`playbook`stringRequired  
`title`stringRequired  
`description`stringRequired  
`sample`stringRequired  
`price_usd_cents`integerRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/marketplace_install` Marketplace install Approval gated**

Install a playbook at its exact listed USD price. Keystone asks the owner to approve that price before charging. Pull an approved update for free with pull_update. Pulling replaces the installed steps. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`listing`stringRequired  
`approved_usd_cents`integerRequired  
`pull_update`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/marketplace_sales` Marketplace sales Read**

List sales of your agency playbooks, seller earnings in USD cents and manual payout status.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/marketplace_report` Marketplace report Write**

Send a listing or purchase complaint to Keystone for review.

`listing`stringRequired  
`reason`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/skill_publish` Skill publish Write**

Agency only, certified publishers only. Submit a reviewed skill from the account skills to the playbook marketplace. Keystone reviews every listing before it shows. The sample output is public.

`name`stringRequiredThe skill name, e.g. "map-pack-check".  
`title`stringRequired  
`description`stringRequired  
`sample`stringRequired  
`price_usd_cents`integerRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/onboarding_link_create` Onboarding link create Write**

Create a private client onboarding link for the selected workspace. Choose app slugs from the connection catalog. Include api_anything to let the client invite the workspace Keystone user to any web app, even one with no API.

`businessType`"general" | "home_services" | "towing" | "construction" | ...  
`apps`string[]  
`days`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/onboarding_status` Onboarding status Read**

Check client onboarding progress and custom API tool drafts for the selected workspace.

`id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/onboarding_link_revoke` Onboarding link revoke Destructive**

Disable a client onboarding link for the selected workspace.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_seat_invite` Client seat invite Approval gated**

Give a client their own Keystone access to the current workspace, so they can connect their own AI (Claude, ChatGPT, Cursor) to this workspace only. Returns a one-time invite link for the agency to send. Each workspace includes 3 users; each additional user is $10 a month on the agency's bill. client_price_usd is what the agency charges its client for this person, recorded for margin tracking only. The client's AI can use every app connected in this workspace. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`email`stringRequiredThe client's email address. Only someone who signs in with it can accept.  
`client_price_usd`numberWhat the agency charges this client per month for the seat.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_seats` Client seats Read**

List client seats (invited and active) for the current workspace, or for every workspace with all_workspaces, and per workspace: users against the included number, what Keystone charges for extra users, what the agency charges its client, and the agency margin per month.

`all_workspaces`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_seat_revoke` Client seat revoke Destructive**

Revoke a client seat or withdraw an invite at once. The client's AI loses access on its next call, and if the workspace was over its included users, the bill drops by one user.

`seat_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/partner_status` Partner status Read**

Partner program earnings for the signed-in person: clicks, signups, trials, paying accounts, monthly recurring commission, and pending, payable and paid amounts in USD, plus recent payouts. Use it when someone asks how much they have earned from referrals. Partners earn 20% of every payment from accounts they refer.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/partner_link` Partner link Read**

The signed-in person's partner referral link, pointing at any page on the Keystone site such as /pricing. Joins the partner program on first use (joining accepts the partner terms at /partner-terms). Visits through the link are tracked for 60 days.

`path`stringA page on the Keystone site, like / or /pricing. Defaults to the home page.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/payouts_setup` Payouts setup Write**

Start or continue Stripe Express payout onboarding. For agency client-wallet margin payouts, only an account owner or admin can use it. For partner program payouts, it acts on the signed-in person's own partner record. Returns Stripe's hosted onboarding link; the person completes identity, bank and tax details there.

`for`"agency" | "partner"Which payout to set up or inspect. Omit it to see both in payouts_status.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/payouts_status` Payouts status Read**

Payout readiness for the signed-in person: not started, pending verification, or ready. Covers agency client-wallet margin payouts and their own partner-program payouts, with payable amounts and the next action. Refreshes pending Stripe Express account state before answering.

`for`"agency" | "partner"Which payout to set up or inspect. Omit it to see both in payouts_status.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_offboard_plan` Client offboard plan Write**

Agency client offboarding, step 1. For "offboard <client>", select that client's workspace and call this. Returns a checklist of everything Keystone will end: scheduled jobs, a data export ZIP for the client, the Google Ads manager link, Business Profile access, the workspace Google account in Search Console and GA4, the Keystone user in other web apps, every app connection and API key, Keystone numbers and domains, and the workspace archive. Changes nothing. Numbers and domains need the client's choice: release (let it go) or transfer (the client keeps it). Show the whole checklist to the person before client_offboard_run.

`numbers`"release" | "transfer"Default for every Keystone number: release or transfer to the client.  
`domains`"release" | "transfer"Default for every domain registered through Keystone: release (no renewal) or transfer to the client.  
`choices`objectPer number (E.164) or domain choices that override the defaults.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_offboard_run` Client offboard run Approval gated**

Agency client offboarding, step 2. Runs an approved plan from client_offboard_plan: revokes Google access, disconnects every app and key, removes the Keystone user from other web apps, releases or transfers numbers and domains, exports the data and archives the workspace. Only after the agency approved the checklist. Each step reports done, or a manual step with exact instructions for the client. Safe to call again with the same id: finished steps are kept and failed steps retry. The account owner or an admin approves the run through Keystone. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`id`stringRequired  
`code`stringRequiredThe code returned with the plan.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_offboard_status` Client offboard status Read**

Agency client offboarding: the latest plan or run for this workspace, or one by id (also after the workspace is archived). Lists each step as planned, done, manual (with the exact instructions), skipped or failed, plus the client's data export link.

`id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agency_agents_now` Agency agents now Read**

Agency owners and admins only. Every client at once: which AI sessions are checked in right now (AI app, client, lane, task, what each claimed), live API Anything computers, recent agent mail and handoffs, open blockers, and stuck or failing work (abandoned claims, unread handoffs, apps that need a sign-in, failing tools and calls), plus approvals waiting per client. Filter by client or agent. Each item links into that client.

`clients`string[]Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.  
`agent`stringOne agent: "lane:<lane>" (like lane:ads), "app:<AI app>" (like app:Claude Code), or either name.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agency_notebook_search` Agency notebook search Read**

Agency owners and admins only. Searches the agency notebook and every client notebook at once, by keyword and meaning. Each hit says which client it belongs to (or the agency) and links to the note. Use it to find how a past job was done for another client, or which clients share a vendor, person or campaign.

`query`stringRequiredWords or a question.  
`clients`string[]Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.  
`include_agency`booleanAlso search the agency notebook. Default true.  
`limit`integerMost hits to return. Default 20.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agency_rules_get` Agency rules get Read**

Agency owners and admins only. The agency AGENTS.md (the rules every client's AI follows) and, for each client, whether it adds its own rules on top, which sections it adds to, the lines it adds, and lines that may contradict an agency rule. Pass one client to also get that client's full rules text.

`client`stringOne client (workspace id or slug) for its full rules text.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agency_digest` Agency digest Read**

Agency owners and admins only. The daily agency digest: what the AIs did across every client that day (from each client's automatic write-ups), what needs a person (approvals, blockers, stuck work), and decisions logged. Returns the saved digest note for a past day, or builds today's so far.

`date`stringA coordinated universal time day, YYYY-MM-DD. Default today.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/opportunities_scan` Opportunities scan Approval gated**

Agency owners and admins only. Scan every client (or the named ones) for work they need that the agency sells: not in the map pack, reviews behind competitors, not named by ChatGPT, ads spending with no leads, a slow or broken site, missed calls with no text back, no win-back campaign. Each finding carries its evidence and a monthly value from the agency rate card. mode stored (default) uses only what Keystone already measured and costs nothing. mode full adds one live map check and one ChatGPT check per client: call it first without confirm to get the price, show the person, then call again with confirm true. Full scans are paid from the agency wallet. Nothing is sent to any client. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`mode`"stored" | "full"  
`clients`string[]Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.  
`only_this_client`booleanScan only the current workspace. Redshift Loops use this.  
`confirm`booleanFull scan only: true runs it after the person saw the price.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/opportunities_list` Opportunities list Read**

Agency owners and admins only. The open opportunities from the last scans, highest value first: client, service, what is wrong, the evidence with its source and date, the rate card offer and its monthly and one-time price, and any proposal already built. Totals by client and by service. Filter by client, service or status.

`clients`string[]Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.  
`only_this_client`boolean  
`service`"local_seo" | "reviews" | "ai_search" | "ads" | ...One of: local_seo, reviews, ai_search, ads, website, calls, reactivation.  
`status`"open" | "proposed" | "dismissed" | "resolved" | ...open includes the ones with a proposal out.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/opportunity_propose` Opportunity propose Write**

Agency owners and admins only. Build a proposal (deal room) for one client from its opportunities: the findings become the audit section, and the prices come from the rate card, with everything together as the recommended package and each service on its own. Returns the deal room link, shown once. Nothing is sent; share the link with the client yourself when the person says so.

`opportunity_ids`string[]RequiredIds from opportunities_list, all for the same client.  
`client_email`stringPre-fills the signer email on the deal room.  
`intro`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/review_deck` Review deck Write**

Agency owners and admins only. Build the quarterly business review deck for one client, several, or every client: the quarter's booked jobs, revenue, calls, leads, reviews, map and Google rankings and AI answer share against the quarter before, the work the agency finished, and the top 3 next things to buy from the opportunity finder with rate card prices. Every number comes from data Keystone stored; Redshift Warp writes the few sentences around them (a fraction of a cent each from the wallet when Redshift is on), and any sentence with a number not in the data is replaced. Behind the deck's Accept button it makes a deal room for those next steps. Building again refreshes the deck in place. Nothing is sent; call review_deck_share for a link when the person wants to send it.

`clients`string[]Clients to build for: workspace ids or slugs from workspaces_list. Omit for every client.  
`only_this_client`booleanBuild only for the current workspace.  
`quarter`string2026-Q3, current or last. Omit for the running quarter once it is 30 days old, otherwise the last full one.  
`accept_button`booleanfalse builds the deck without a deal room behind Accept.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/review_decks_list` Review decks list Read**

Agency owners and admins only. The quarterly review decks already built, newest first, per client: quarter, headline, numbers, next steps, whether a share link is live and how many times the client opened it.

`clients`string[]Clients to build for: workspace ids or slugs from workspaces_list. Omit for every client.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/review_deck_share` Review deck share Write**

Agency owners and admins only. Make the share link and PDF link for a review deck so the agency can send it to its client, or turn the link off. Making a new link turns the old one off. The link is shown once. Nothing is sent: the person sends it.

`deck_id`stringRequired  
`action`"share" | "turn_off"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_video_setup` Client video setup Approval gated**

Agency owners and admins only. Monday client videos: every Monday Keystone drafts a 45 to 75 second narrated video for a client about last week, from stored numbers only (calls answered, leads, reviews and replies, Google Maps and search rankings, AI search answers, work done in the client's apps), in the agency's colors. preview true shows the cost and the voices before anything changes. on true turns the Monday draft on for this client (or every client with all_clients true); an owner or admin approves the cost, and the Account Manager's Monday Loop drafts the video. on false turns it off. voice picks the narration voice; send_to saves the client's email for one-click sending. Nothing is ever sent without the agency. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`preview`boolean  
`on`boolean  
`all_clients`boolean  
`voice`"thalia" | "apollo" | "helena" | "arcas"thalia: Clear, warm, confident (female); apollo: Relaxed and friendly (male); helena: Calm and caring (female); arcas: Natural and smooth (male)  
`send_to`objectThe client contact who gets the video by email when the agency sends it. null clears it.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_video_draft` Client video draft Write**

Agency owners and admins only. Draft the Monday video for one client, several, or every client: reads last week from stored numbers, writes the script in plain words, reads it aloud and queues the video to be made (about a minute, in the agency's colors with music under the voice). Costs about $0.04 a video from the wallet. Drafting again before it is sent rewrites it with the latest numbers. A week with nothing stored makes no video. Nothing is sent: call client_video_send when the person says so.

`clients`string[]Clients: workspace ids or slugs from workspaces_list. Omit for every client.  
`only_this_client`booleanDraft only for the current workspace.  
`week`stringlast (default), this (the week so far), or a week like 2026-W46.  
`voice`"thalia" | "apollo" | "helena" | "arcas"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_videos_list` Client videos list Read**

Agency owners and admins only. The Monday videos already drafted, newest first: client, week, whether it is being made, ready for review, sent or on the portal, its script, cost and how many times the client opened it.

`clients`string[]Clients: workspace ids or slugs from workspaces_list. Omit for every client.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_video_script` Client video script Write**

Agency owners and admins only. Change one scene of an unsent Monday video: its on-screen title, the words the voice says, or both. The voice may only say numbers Keystone measured for that week; words with any other number are refused. The scene is read aloud again (a fraction of a cent) and the video is made again.

`video_id`stringRequired  
`scene`integerRequiredScene number from client_videos_list, starting at 1.  
`title`string  
`says`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/client_video_send` Client video send Approval gated**

Agency owners and admins only. Send a finished Monday video to the client. email sends a watch link to the client's saved email (or to), from the agency's name with replies going to the person sending. portal shows it on the client portal. take_down removes it from the portal and turns the emailed link off. Only call this when the person asked to send it. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`video_id`stringRequired  
`channel`"email" | "portal" | "take_down"Required  
`to`string  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rate_card_get` Rate card get Read**

Read the account's rate card: packages and add-ons with one-time and monthly prices, the deposit rule and how long proposals stay open. Every pitch and proposal uses it.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rate_card_set` Rate card set Write**

Add or update one rate card item. Pass id to update. kind package: the client picks one. kind addon: the client can add it. Prices in dollars. Open proposals keep the prices they were sent with.

`id`string  
`kind`"package" | "addon"Required  
`item`objectRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rate_card_remove` Rate card remove Write**

Remove a rate card item by id. Proposals already sent keep it.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/rate_card_terms_set` Rate card terms set Write**

Set the deposit rule, how many days proposals stay open, and the agreement terms text (lines starting "# " are headings, "- " list items). Pass terms as an empty string to go back to the default terms.

`deposit_mode`"first_payment" | "percent" | "fixed"first_payment: setup plus the first month due at signing. percent: that share of the one-time price plus the first month. fixed: a fixed deposit.  
`deposit_percent`integer  
`deposit_usd`numberFixed deposit in dollars, for deposit_mode fixed.  
`valid_days`integer  
`terms`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/deal_pitch` Deal pitch Approval gated**

Pitch a prospect from their website: reads the site for the business's real facts, runs the growth audit (billed from the Keystone wallet, about $1 to $2), publishes a preview of an improved site on ksites.app, and builds a branded deal room with the rate card packages that the prospect can sign and pay on the call. Returns the room link. Pass audit false to skip the paid audit. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`url`stringRequiredProspect website, e.g. brightsmiledental.com  
`business_name`stringName to use when the site states it differently than the Google profile.  
`city`stringAudit market as "City,State,United States". Read from the site when it states an address.  
`keywords`string[]  
`audit`boolean  
`preview`boolean  
`client_email`string  
`package_ids`string[]Rate card packages to offer. Default: every package.  
`addon_ids`string[]  
`recommended`stringRate card package id to mark Recommended.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/deal_create` Deal create Write**

Make a deal room for a client: a page where they pick a package, sign the agreement and pay the deposit by card. Use rate card ids, custom packages, or both. Prices in dollars. For an agency, payment creates the client workspace and sends the onboarding link; on Personal it records the sale.

`client_name`stringRequired  
`client_email`string  
`title`string  
`intro`stringShort message at the top of the room.  
`package_ids`string[]  
`addon_ids`string[]  
`packages`object[]Custom packages, keyed p1, p2 and so on.  
`addons`object[]Custom add-ons, keyed a1, a2 and so on.  
`recommended`string  
`deposit_mode`"first_payment" | "percent" | "fixed"first_payment: setup plus the first month due at signing. percent: that share of the one-time price plus the first month. fixed: a fixed deposit.  
`deposit_percent`integer  
`deposit_usd`numberFixed deposit in dollars, for deposit_mode fixed.  
`valid_days`integer  
`on_payment`"workspace" | "none"workspace: make the client workspace and onboarding link when paid. none: record the sale only.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/deals_list` Deals list Read**

List deals in this workspace with status (open, signed, paid, void, expired), how often the client opened the room, and the chosen totals. Also returns the account payable balance (deal payments and client-wallet margins, less card fees and payouts).

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/deal_get` Deal get Read**

One deal: status, views, the signature record (name, email, time, network address, agreement hash), payments and the client workspace made on payment.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/deal_void` Deal void Destructive**

Withdraw an open deal so its room link stops accepting signatures.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_fleet_set` Redshift fleet set Write**

Agency fleet mode: run one Redshift agent Loop across chosen client workspaces on one schedule (each in its own time zone). Clients get the agent turned on; clients left out of the list get the fleet Loop switched off. Each client runs in its own workspace and never sees another client. Agency owners and admins only.

`agent`"account_manager" | "reviews" | "ads" | "front_desk" | ...RequiredOne of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).  
`loop`stringRequiredThe Loop key, like weekly_update, morning_sweep, nightly_check, missed_calls or weekly_receipts.  
`clients`string[]RequiredClient workspace ids or slugs.  
`schedule`objectLeave out to keep the Loop's default schedule. tz is ignored: each client uses its own.  
`model`stringOne of the Redshift model ids that redshift_agents lists.  
`on`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Reviews and referrals14 endpoints**

**POST `/v1/tools/reviews_configure` Reviews configure Write**

Configure Reviews on Autopilot for this workspace: Google review link, SMS/email channel, auto-posting for 4 and 5 star replies, and owner approval alerts for 1 to 3 star reviews. Blocks Yelp review links, review gating, and review incentives.

`requests_enabled`boolean  
`request_channel`"sms" | "email" | "sms_or_email"  
`review_url`object  
`business_name`object  
`owner_name`object  
`owner_alert_email`object  
`reply_phone`object  
`postal_address`object  
`sender_email`object  
`request_template`object  
`reminder_enabled`boolean  
`reminder_delay_days`integer  
`cooldown_days`integer  
`auto_reply_positive`booleanAuto-post replies to 4 and 5 star Google reviews. 1 to 3 star reviews always wait for owner approval.  
`gbp_account`object  
`gbp_location`object  
`field_service_app`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_status` Reviews status Read**

Read Reviews on Autopilot settings, A2P SMS approval status, connected field-service apps, and summary counts for this workspace.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_sync_closed_jobs` Reviews sync closed jobs Approval gated**

Pull closed jobs from the connected field-service app and send compliant review requests by A2P-gated text or email. Requires requests_enabled unless dry_run is true. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_send_request` Reviews send request Approval gated**

Send a single compliant Google review request for a closed job by A2P-gated SMS or email. Respects opt-outs, cooldown, and platform rules (blocks Yelp, gating, and incentives). (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`source_app`string  
`external_job_id`stringRequired  
`customer_name`string  
`customer_phone`string  
`customer_email`string  
`technician_name`string  
`service_type`string  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_sync_google` Reviews sync google Write**

Sync Google Business Profile reviews for bound locations, draft replies in the workspace voice from memory, auto-post 4 and 5 star replies when enabled, and hold 1 to 3 star reviews for review.

`account`string  
`location`string  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_list` Reviews list Read**

List synced Google reviews, drafted replies, pending owner approvals, and recent closed-job review requests for this workspace.

`status`"new" | "drafted" | "pending_owner_approval" | "posted" | ...  
`min_stars`integer  
`max_stars`integer  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_redraft_reply` Reviews redraft reply Write**

Generate a fresh reply draft in the workspace voice for one synced Google review.

`review_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_approve_reply` Reviews approve reply Approval gated**

Approve and publish a drafted Google review reply (required for 1 to 3 star reviews, and for 4 to 5 star reviews when auto-post is off). (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`review_id`stringRequired  
`reply_text`stringEdited reply text to post instead of the saved draft.  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_dismiss_reply` Reviews dismiss reply Write**

Dismiss a drafted Google review reply without publishing it.

`review_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reviews_opt_out` Reviews opt out Write**

Add a phone number or email address to this workspace review opt-out list, or list current opt-outs.

`action`"add" | "list"  
`channel`"sms" | "email" | "all"  
`contact`string  
`reason`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/referral_settings` Referral settings Write**

Read or configure the customer referral program, its approved separate invitation copy, reward amount, annual cap, and short friend form. Enabling it does not offer anything for a review and sends nothing until a closed job and a good review both exist.

`landing_page`objectPage on a published workspace site containing the referral form embed.  
`approve_template`booleanApprove the current text and email invitation templates for delivery.  
`enabled`boolean  
`reward_type`"gift_card" | "account_credit"  
`reward_cents`integer  
`annual_cap`integer  
`invite_channel`"sms" | "email" | "sms_or_email"  
`business_name`object  
`owner_alert_email`object  
`sender_email`object  
`postal_address`object  
`sms_template`object  
`email_subject`object  
`email_body`object  
`field_service_app`"auto" | "workiz" | "fieldpulse" | "gorilladesk" | ...  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/referral_invite_queue` Referral invite queue Approval gated**

List referral invitations waiting after a positive review, or send ready invitations. Sends still obey opt-outs, sender approval, and the quiet-hours window. Use dry_run to preview without sending. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`action`"list" | "send"  
`referral_id`string  
`dry_run`boolean  
`limit`integer  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/referrals_list` Referrals list Read**

List referrals and friend milestones for this workspace, including self-referral blocks, paid invoices, rewards due, approvals, and recorded manual payments.

`status`"awaiting_review" | "invite_queued" | "invite_blocked" | "invited" | ...  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/referral_reward_approve` Referral reward approve Approval gated**

Approve a reward due from an actually paid friend invoice for manual payment, or record that the approved gift card or account credit was paid by hand. This tool never sends money or buys a gift card. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`referral_id`stringRequired  
`action`"approve" | "mark_paid"  
`payout_reference`string  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Ad budgets and Local Services leads24 endpoints**

**POST `/v1/tools/lsa_configure` Local Services Ads configure Write**

Configure Local Services Ads settings for this workspace: bound Google Ads customer ID, offered and excluded services, service area ZIPs and cities, duplicate window, and automation flags.

`customer_id`object  
`offered_services`string[]  
`excluded_services`string[]  
`service_zips`string[]  
`service_cities`string[]  
`duplicate_window_days`integer  
`auto_submit_feedback`boolean  
`auto_reply_messages`boolean  
`business_phone`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_sync_leads` Local Services Ads sync leads Write**

Sync Local Services Ads leads and conversations, flag credit-eligible leads (wrong service, outside area, spam, solicitation, duplicate), and draft replies for open message leads.

`customer_id`string  
`limit`integer  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_list_leads` Local Services Ads list leads Read**

List synced Local Services Ads leads with credit status, credit-eligibility flags, prepared dispute evidence packets, one-click Google LSA Inbox links, and drafted message replies.

`flag_status`"none" | "flagged" | "submitted" | "prepared_manual" | ...  
`lead_type`"MESSAGE" | "PHONE_CALL" | "BOOKING" | "COUPON"  
`charged_only`boolean  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_prepare_dispute` Local Services Ads prepare dispute Read**

Prepare a structured LSA lead dispute and feedback evidence packet with Google policy notes and a one-click Google Local Services Inbox link.

`lead_id`stringRequiredInternal lead ID, Google lead ID, or full resource name.  
`reason`"GEO_MISMATCH" | "JOB_TYPE_MISMATCH" | "NOT_READY_TO_BOOK" | "SPAM" | ...  
`comment`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_submit_feedback` Local Services Ads submit feedback Write**

Submit lead credit feedback to Google Local Services Ads for a flagged or completed lead. When the API cannot submit or Google declines a credit, returns a prepared dispute packet with evidence and a link to the LSA Inbox.

`lead_id`stringRequired  
`survey_answer`"DISSATISFIED" | "VERY_DISSATISFIED" | "SATISFIED" | "VERY_SATISFIED"  
`dissatisfied_reason`"GEO_MISMATCH" | "JOB_TYPE_MISMATCH" | "NOT_READY_TO_BOOK" | "SPAM" | ...  
`satisfied_reason`"BOOKED_CUSTOMER" | "LIKELY_BOOKED_CUSTOMER" | "SERVICE_RELATED" | "HIGH_VALUE_SERVICE" | ...  
`other_reason_comment`string  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_draft_reply` Local Services Ads draft reply Write**

Draft or regenerate a reply in the workspace voice for a Local Services Ads message lead.

`lead_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_reply_lead` Local Services Ads reply lead Approval gated**

Send a reply to an active Local Services Ads message lead. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`lead_id`stringRequired  
`message_text`stringReply text to send. Defaults to the saved draft.  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/lsa_dismiss_flag` Local Services Ads dismiss flag Write**

Dismiss a credit flag on an LSA lead without submitting feedback.

`lead_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_autopilot_settings` Budget autopilot settings Approval gated**

Read or change the ad budget autopilot for this workspace. It reads booked jobs and open slots from the connected field-service or CRM app and the weather for the service area, then proposes Google Ads and Meta Ads daily budget changes: cut non-brand budgets (or pause them) when the next few days are booked out, raise them when slots are open, and raise matching service campaigns on heat, freeze or storm forecasts. Every change waits in an approval queue unless auto mode is on, and auto mode only moves budgets inside a percent band and a daily dollar cap you set. Call with no arguments to read the settings and what still needs setup. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`enabled`booleanTurn the autopilot on or off. Keystone checks the workspace every few hours while it is on.  
`mode`"approve" | "auto"approve (the default): every change waits in the queue for your approval. auto: changes inside the band and daily cap apply by themselves. Pauses and restarts always wait.  
`customer_id`stringWhich connected Google Ads account to manage. Not needed when only one is connected.  
`crew_hours_per_day`objectTotal crew hours available on a working day, for example 3 trucks x 8 hours = 24.  
`working_days`"sunday" | "monday" | "tuesday" | "wednesday" | ...[]Days the crews work. Default Monday to Friday.  
`timezone`stringIANA time zone of the business, such as local time zone. Default local time zone.  
`window_days`integerHow many days ahead to measure the booked percent over. Default 3.  
`job_hours`numberHours to assume for a booked job with no end time. Default 2.  
`high_percent`numberBooked at or above this percent counts as booked out. Default 90.  
`high_action`"cut" | "pause"When booked out: cut non-brand daily budgets, or pause non-brand campaigns. Default cut.  
`cut_percent`numberHow much to cut budgets when booked out. Default 25.  
`low_percent`numberBooked at or under this percent counts as open slots. Default 50.  
`raise_percent`numberHow much to raise non-brand budgets when slots are open. Default 20.  
`cap_percent`numberA budget never goes more than this percent above its normal amount. Default 50.  
`min_daily_dollars`numberA cut never takes a budget below this many dollars a day. Default 5.  
`max_daily_dollars`objectA raise never takes a budget above this many dollars a day. Leave unset for no dollar ceiling.  
`weather`booleanRaise matching service campaigns on heat, freeze or storm forecasts. Default on.  
`weather_raise_percent`numberHow much a weather trigger raises a matching campaign. Default 20.  
`heat_high_f`numberForecast high in F that counts as a heat trigger. Default 95.  
`freeze_low_f`numberForecast low in F that counts as a cold or freeze trigger. Default 28.  
`areas`string[]Service areas for the weather: "lat,lon", "City, ST" or a US ZIP. Defaults to the storm watch areas.  
`weather_campaigns`objectWhich campaigns each trigger raises. Words must appear in the campaign name; a number is a campaign id. Defaults cover AC and HVAC for heat, heating and plumbing for cold, roofing and tree work for storms.  
`brand_keywords`string[]Words that mark a campaign as brand. Brand campaigns are not cut or paused for being booked out. Names containing "brand" or the business name count already.  
`exclude_campaign_ids`string[]Campaign ids the autopilot must never touch.  
`auto_band_percent`objectAuto mode only: the most a budget may sit from its normal amount, in percent.  
`auto_daily_cap_dollars`objectAuto mode only: the most daily budget, in dollars, that auto mode may move in one day in total.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_autopilot_preview` Budget autopilot preview Read**

Show what the budget autopilot would change right now and why, without changing anything: the booked percent for each of the next ten days, the weather triggers found for the service area, and each proposed ad budget change with its reason (for example "Tuesday to Thursday 96% booked") and whether it would wait for approval or apply automatically. When slots are open it also says how many past customers are due, for a reactivation offer.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_changes_list` Budget changes list Read**

Read pending daily budget, pause and resume proposals for this workspace. Use budget_autopilot_queue only to decide or refresh proposals.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_autopilot_queue` Budget autopilot queue Approval gated**

The approval queue for budget autopilot changes. action list (default) shows what waits for approval, with the reason for each. approve applies pending changes to the connected ad account (pass change_ids, or all: true); reject discards them; refresh checks the schedule and weather now and queues what it finds. Approving a change that is more than two days old, or whose live budget no longer matches, is refused so a stale proposal never overwrites a newer budget. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`action`"list" | "approve" | "reject" | "refresh"  
`change_ids`string[]Changes to approve or reject.  
`all`booleanApprove or reject every pending change.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_autopilot_history` Budget autopilot history Read**

Every budget autopilot change: proposed, applied, rejected, failed, expired and undone, newest first, with the reason, the old and new daily budget, who decided and whether auto mode applied it.

`days`integer  
`status`"pending" | "applied" | "rejected" | "failed" | ...  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/budget_autopilot_undo` Budget autopilot undo Approval gated**

Undo one applied budget autopilot change in one call: the daily budget goes back to what it was, or a paused campaign restarts. Leave change_id empty to undo the latest applied change. It refuses when the live budget no longer matches what Keystone set, because someone changed it since; pass force to set it back anyway. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`change_id`string  
`force`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctv_audience_sync` Ctv audience sync Write**

Sync a US workspace audience (hashed emails with UID2 normalization and hashed phones) to Keystone CTV for household-level streaming TV targeting.

`audience_id`stringRequired  
`website_url`string  
`industry`string  
`exclude_converted`boolean  
`limit`integer  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctv_campaign_create` Ctv campaign create Write**

Create a paused draft Keystone CTV streaming campaign targeting a synced household audience (minimum $50/day). Does not spend until approved and activated with ctv_campaign_activate.

`name`stringRequired  
`audience_id`string  
`ctv_audience_id`string  
`goal`"AWARENESS" | "TRAFFIC" | "RETARGETING" | "LEADS" | ...  
`daily_budget_usd`integerRequired  
`flight_days`integer  
`target_cpm_usd`number  
`starts_at`string  
`website_url`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctv_campaign_activate` Ctv campaign activate Approval gated**

Pay the quoted Keystone CTV flight budget from the Keystone wallet and publish the drafted campaign. Needs approval and wallet funds. If launch fails, run it again with the same campaign: the budget is paid once per campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`idempotency_key`stringRequired  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctv_campaign_pause` Ctv campaign pause Write**

Pause an active Keystone CTV campaign immediately.

`campaign_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ctv_report` Ctv report Read**

List Keystone CTV campaigns or request/check an async CTV performance report (impressions, reach, spend, CPM).

`campaign_id`string  
`report_id`string  
`start_date`string  
`end_date`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ad_creatives_sources` Ad creatives sources Read**

Show the client material available for ad creative drafts in this workspace: job photos (never restricted ones), 4- and 5-star reviews, site pages, buyer phrases, saved facts and past Google Ads winners, with what a batch would cost from the wallet. Spends nothing.

`count`integerBatch size to price.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ad_creatives_generate` Ad creatives generate Write**

Draft ad creatives for this client from its own job photos, reviews, site pages, buyer phrases and past Google Ads winners. Each draft has headlines, descriptions, image crops sized for its placement (Google Search, Performance Max, Meta Feed, Meta Reels, YouTube Shorts), a 15-second storyboard for video placements, and a one-line reason naming the material it came from. Lines with a claim the material does not back are dropped. Uses a Redshift model paid from the wallet (Warp by default, the cheaper model for bulk and weekly runs). Every result is a draft; nothing is published.

`count`integerHow many drafts, 1 to 20. Defaults to 6, or the saved weekly count for weekly runs.  
`placements`"google_search" | "google_pmax" | "meta_feed" | "meta_reels" | ...[]  
`model`stringwarp, or the id of the cheaper Redshift model that redshift_agents lists.  
`bulk`booleanUse the cheaper Redshift model.  
`trigger`"manual" | "weekly"The weekly Loop passes weekly.  
`focus`stringA service, offer or season to lean on.  
`landing_url`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ad_creatives_list` Ad creatives list Read**

List this client's ad creative drafts and batches: copy, image crops, storyboards, the reason for each, and whether it is a draft, queued, rejected or archived. Spends nothing.

`status`"draft" | "queued" | "rejected" | "archived"  
`placement`"google_search" | "google_pmax" | "meta_feed" | "meta_reels" | ...  
`batch_id`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ad_creatives_decide` Ad creatives decide Write**

Approve, reject, edit or archive ad creative drafts. Approving moves a draft to the queue and does nothing else: it is not published and no ad account changes. Edit takes one draft id and changes its copy. Approving needs approval permission.

`action`"approve" | "reject" | "edit" | "archive"Required  
`ids`string[]Required  
`note`string  
`edits`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ad_creatives_setup` Ad creatives setup Approval gated**

Settings for the weekly ad creative drafts in this workspace, and turning the weekly Loop on or off. The Loop is off until an owner or admin turns it on; it then drafts each Monday on the Ads agent with the cheaper Redshift model unless set otherwise, paid from the wallet. preview true shows the settings and the weekly cost without changing anything. on false turns it off and keeps every draft. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`preview`boolean  
`on`boolean  
`weekly_count`integer  
`placements`"google_search" | "google_pmax" | "meta_feed" | "meta_reels" | ...[]  
`weekly_model`stringwarp, or the id of the cheaper Redshift model that redshift_agents lists.  
`landing_url`object  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Follow-ups and campaigns55 endpoints**

**POST `/v1/tools/reactivation_find_due_customers` Reactivation find due customers Read**

Pull past customers from the connected CRM or field-service app, clean opt-outs, duplicates, and recent visits, and pick customers due for service by service type and last visit.

`source_app`string  
`service_types`string[]  
`min_days_since_visit`integer  
`max_days_since_visit`integer  
`exclude_recent_days`integer  
`channel`"sms" | "email" | "both"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_create_campaign` Reactivation create campaign Write**

Create a draft past-customer reactivation campaign with target service types, due-for-service window, offer, and copy. Stays in draft until started.

`name`stringRequired  
`channel`"sms" | "email" | "both"  
`source_app`string  
`service_types`string[]  
`min_days_since_visit`integer  
`max_days_since_visit`object  
`exclude_recent_days`integer  
`offer_text`stringRequired  
`offer_deadline`object  
`business_name`object  
`postal_address`object  
`reply_to_email`object  
`sms_template`object  
`email_subject`object  
`email_body`object  
`batch_size`integer  
`populate_audience`boolean  
`draft_copy`boolean  
`customers`object[]  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_draft_copy` Reactivation draft copy Write**

Draft or regenerate the SMS and email copy for a reactivation campaign using workspace voice memory.

`campaign_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_sync_audience` Reactivation sync audience Write**

Pull due-for-service past customers from the connected CRM/field-service app into an existing campaign without sending messages.

`campaign_id`stringRequired  
`customers`object[]  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_list_campaigns` Reactivation list campaigns Read**

List past-customer reactivation campaigns, recipient counts, recent replies, and A2P SMS approval status for this workspace.

`campaign_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_start_campaign` Reactivation start campaign Approval gated**

Start a draft or paused reactivation campaign. Texting requires A2P approval; pass send_first_batch to send the first batch immediately. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`campaign_id`stringRequired  
`send_first_batch`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_pause_campaign` Reactivation pause campaign Write**

Pause an active reactivation campaign so no further batches are sent.

`campaign_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_send_batch` Reactivation send batch Approval gated**

Send the next batch of reactivation texts and emails for an ACTIVE campaign. Refuses draft or paused campaigns, enforces A2P approval for SMS, and skips opted-out contacts. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`campaign_id`stringRequired  
`limit`integer  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_handle_reply` Reactivation handle reply Write**

Process an inbound customer reply to a reactivation text or email. Immediately opts out STOP/unsubscribe replies and books interested replies into the connected CRM.

`channel`"sms" | "email"Required  
`from_contact`stringRequired  
`body`stringRequired  
`campaign_id`string  
`recipient_id`string  
`auto_book`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_book_reply` Reactivation book reply Write**

Book a replied reactivation customer into the connected CRM or field-service app with reactivation source attribution. Refuses opted-out contacts.

`recipient_id`stringRequired  
`service_type`string  
`notes`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/reactivation_opt_out` Reactivation opt out Write**

Add a phone number or email address to this workspace opt-out list (immediately canceling pending campaign sends to that contact), or list opt-outs.

`action`"add" | "list"  
`channel`"sms" | "email" | "all"  
`contact`string  
`reason`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/estimate_closer_configure` Estimate closer configure Write**

Draft a four-step estimate closer sequence in the business voice, set its sending hours and contact details, and save it as a draft. Nothing sends until a person approves it.

`channel`"sms" | "email" | "both"  
`source_app`string  
`timezone`string  
`quiet_start_minutes`integerEarliest sending time, in minutes after midnight in the workspace time zone.  
`quiet_end_minutes`integerLatest sending time, in minutes after midnight in the workspace time zone.  
`business_name`object  
`postal_address`object  
`reply_to_email`object  
`owner_alert_email`object  
`templates`object[]Edited templates. Missing drafts are generated and normalized.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/invoice_collections_configure` Invoice collections configure Write**

Draft a four-step invoice collections sequence in the business voice, set its sending hours and contact details, and save it as a draft. Nothing sends until a person approves it.

`channel`"sms" | "email" | "both"  
`source_app`string  
`timezone`string  
`quiet_start_minutes`integerEarliest sending time, in minutes after midnight in the workspace time zone.  
`quiet_end_minutes`integerLatest sending time, in minutes after midnight in the workspace time zone.  
`business_name`object  
`postal_address`object  
`reply_to_email`object  
`owner_alert_email`object  
`templates`object[]Edited templates. Missing drafts are generated and normalized.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/estimate_closer_approve` Estimate closer approve Approval gated**

Approve the saved estimate follow-up templates and activate the sequence for this workspace. This allows scheduled customer messages. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/invoice_collections_approve` Invoice collections approve Approval gated**

Approve the saved invoice reminder templates and activate the sequence for this workspace. This allows scheduled customer messages. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/followups_queue` Followups queue Read**

Preview estimate and invoice follow-up queues, rendered messages, due times, stop reasons, and sending-hour blocks without sending anything.

`kind`"estimate" | "invoice"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/followups_run` Followups run Approval gated**

Sync estimates or invoices from the connected app and process their approved follow-up sequence. Approved or paid documents and customer replies stop automatically. A dry run sends nothing. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`kind`"estimate" | "invoice"Required  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/followups_pause` Followups pause Write**

Pause estimate follow-ups or invoice reminders immediately. No scheduled messages send while paused.

`kind`"estimate" | "invoice"Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/followups_resume` Followups resume Approval gated**

Resume a previously approved and paused estimate or invoice sequence, allowing scheduled messages to send again. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`kind`"estimate" | "invoice"Required  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/followups_report` Followups report Read**

Report messages sent, replies waiting for the owner, stopped sequences, and estimate revenue or invoice cash recovered after the first follow-up.

`kind`"estimate" | "invoice"Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/followups_handle_reply` Followups handle reply Write**

Record an inbound customer reply, stop all matching active sequences, honor opt-out words, and flag the reply for the owner.

`channel`"sms" | "email"Required  
`from_contact`stringRequired  
`body`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/storm_watch` Storm watch Write**

Read or change the storm watch for this workspace: the service areas, the hail and wind thresholds, and whether Keystone drafts a storm campaign (a landing page and a Google Ads plan, both waiting for approval) after hail or high wind hits. Keystone checks each area every three hours. Call with no arguments to read it.

`areas`string[]Service areas to watch, up to five.  
`enabled`booleanTurn the watch on or off.  
`campaigns`booleanDraft a storm campaign for approval after a new hail or wind event. Never publishes or spends on its own.  
`services`string[]Services the campaign copy names, such as roof repair.  
`hail_probability`integerHail probability percent that counts as hail. Default 50.  
`hail_inches`numberSmallest forecast hail size that counts, in inches. Default 1.  
`wind_mph`integerGust speed that counts as a wind event, in mph. Default 58.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/storm_alerts` Storm alerts Read**

Forecast hail, severe wind and thunderstorms for a service area over the next 1 to 5 days, day by day, with peak gusts and hail probability. Leave area empty to check every watched area.

`area`stringA service area: "lat,lon", a city and state like "Tampa, FL", or a US ZIP like "33602 US".  
`days`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/storm_history` Storm history Read**

Hail and wind events recorded for a service area by the storm watch (up to a year back), plus what the last 24 hours of weather show right now. Use it to time a storm campaign or to check a homeowner's storm date.

`area`stringA service area: "lat,lon", a city and state like "Tampa, FL", or a US ZIP like "33602 US".  
`days`integerHow many days of recorded events to return.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_create` Audience create Write**

Create a workspace audience container with an explicit consent lane for direct mail, addressable CTV, first-party ad syncs, or DNC-scrubbed call queues.

`name`stringRequired  
`description`string  
`source_summary`string  
`default_consent_lane`"express_written" | "first_party_crm" | "public_record" | "visitor_id_us" | ...  
`filters`objectextra audience criteria; Fair Housing protected classes and FCRA credit filters are rejected.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_list` Audience list Read**

List saved audiences, consent lanes, and active member counts in this workspace.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_add_members` Audience add members Write**

Add property owners, permit leads, storm addresses, or CRM contacts into a workspace audience with explicit consent lanes. Suppressed people are skipped automatically.

`audience_id`stringRequired  
`members`object[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_get` Audience get Read**

Inspect one workspace audience, its consent-lane breakdown, channel eligibility summary, and sample members.

`audience_id`stringRequired  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_check_eligibility` Audience check eligibility Read**

Check which members of a workspace audience are legally eligible for a chosen channel (direct_mail, ctv, meta_custom_audience, google_customer_match, email, sms, automated_voice, manual_call_task) and why blocked records cannot run on that channel.

`audience_id`stringRequired  
`channel`"direct_mail" | "ctv" | "meta_custom_audience" | "google_customer_match" | ...Required  
`verified_sender_email`string  
`postal_address`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_suppress` Audience suppress Write**

Add an email, hashed email, phone number, or US postal address to this workspace suppression list so Keystone blocks future outreach and ad syncs immediately.

`email`string  
`hem_sha256`string  
`phone`string  
`address_line1`string  
`city`string  
`state`string  
`postal_code`string  
`channel`"all" | "mail" | "email" | "phone" | ...  
`reason`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_import_crm` Audience import CRM Write**

Import first-party contacts from this workspace ServiceLine CRM account into an audience labeled first_party_crm for direct mail, Meta Custom Audiences, Google Customer Match, buyer exclusions, or CTV.

`audience_id`stringRequired  
`tag`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_import_neighbor_draft` Audience import neighbor draft Write**

Import the nearby homeowner addresses from a targeted neighbor postcard draft into a workspace audience (consent_lane: public_record) so you can send 1-to-1 postcards directly through Keystone Direct Mail.

`audience_id`stringRequired  
`draft_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_queue_manual_calls` Audience queue manual calls Write**

Queue DNC-clear audience members as manual-dial-only call tasks inside ServiceLine CRM. Never auto-dials or sends AI voice calls; skips any record without dnc_status clear or express written consent.

`audience_id`stringRequired  
`campaign_label`stringRequired  
`max_tasks`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_intent_topics` Audience intent topics Read**

Search available US buying-intent topics (such as roof replacement, kitchen remodeling, deck building, solar, or HVAC) before discovering an intent audience. Free to search.

`search`stringRequired  
`category_id`string  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_discover_intent` Audience discover intent Approval gated**

Discover US consumers showing active buying intent on one or more topics and load them into a workspace audience labeled third_party_intent (eligible for direct mail and CTV; blocked from cold SMS and Meta/Google uploads). Bills your Keystone wallet only for matched records. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`audience_id`stringRequired  
`topic_ids`string[]Required  
`min_score`"high" | "medium" | "low"  
`min_perc_score`integer  
`limit`integer  
`resolve_email`boolean  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_enrich` Audience enrich Approval gated**

Enrich existing audience members with matched US contact profiles (name, postal address, secondary identifiers) or score them on buying-intent topics. Misses cost $0; never downgrades existing first-party consent lanes. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`audience_id`stringRequired  
`mode`"contact" | "intent"  
`topic_ids`string[]  
`min_score`"high" | "medium" | "low"  
`limit`integer  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/visitor_id_configure` Visitor ID configure Write**

Configure extra US-only website visitor identification for a workspace site. Off by default; requires a public privacy notice URL with opt-out instructions and Global Privacy Control (Sec-GPC: 1) support.

`site_id`stringRequired  
`enabled`booleanRequired  
`privacy_notice_url`string  
`attest_privacy_notice`boolean  
`tier`"resolution_hem" | "resolution_hem_pte" | "resolution_full_profile"  
`target_audience_id`string  
`external_project_id`string  
`daily_cap_usd`number  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/visitor_id_sync` Visitor ID sync Approval gated**

Pull net-new US website visitors identified this coordinated universal time calendar month for a site with Visitor ID enabled. Deduplicates once per person per month, strips opt-outs and non-US rows, bills only matched visitors to your Keystone wallet, and logs visitor events to the CRM. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`site_id`stringRequired  
`limit`integer  
`push_to_crm`boolean  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_sync_meta` Audience sync meta Write**

Sync first-party CRM or express-written-consent audience members to a Meta Custom Audience (for reactivation, lookalikes, or buyer exclusions). Public records, visitor matches, and third-party intent lists are hard-blocked.

`audience_id`stringRequired  
`custom_audience_id`string  
`name`string  
`sync_kind`"include" | "exclude"  
`remove_members`boolean  
`only_converted`boolean  
`limit`integer  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/audience_sync_google` Audience sync google Write**

Sync first-party CRM or express-written-consent audience members to Google Ads Customer Match (for remarketing, similar segments, or buyer exclusions). Public records, visitor matches, and third-party intent lists are hard-blocked.

`audience_id`stringRequired  
`customer_id`stringRequired  
`user_list_resource_name`string  
`name`string  
`sync_kind`"include" | "exclude"  
`only_converted`boolean  
`limit`integer  
`dry_run`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mail_verify_address` Mail verify address Approval gated**

Verify and standardize a US mailing address for USPS deliverability before sending direct mail. Bills your Keystone wallet per check. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`primary_line`stringRequired  
`secondary_line`string  
`city`string  
`state`string  
`zip_code`string  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mail_preview_campaign` Mail preview campaign Write**

Preview a 1-to-1 Keystone Direct Mail postcard campaign against a workspace audience. Checks consent lanes, suppressions, and exact USD pricing without charging or mailing.

`audience_id`stringRequired  
`name`stringRequired  
`size`"4x6" | "6x9" | "6x11"  
`mail_type`"usps_first_class" | "usps_standard"  
`from`objectRequired  
`headline`stringRequired  
`body_copy`stringRequired  
`offer_text`stringRequired  
`destination_url`stringRequired  
`tracking_phone`string  
`photo_url`string  
`accent_color`string  
`max_pieces`integer  
`exclude_converted`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mail_send_campaign` Mail send campaign Approval gated**

Pay from the Keystone wallet and send a drafted 1-to-1 Keystone Direct Mail postcard campaign. Verifies US addresses, skips opt-outs, assigns unique QR attribution links, and logs every mailed piece to the CRM timeline. Needs approval and wallet funds; only pieces the carrier accepts are charged. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`campaign_id`stringRequired  
`idempotency_key`stringRequired  
`max_pieces`integer  
`verify_addresses`boolean  
`exclude_converted`boolean  
`send_date`string  
`dry_run`boolean  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mail_cancel_piece` Mail cancel piece Write**

Cancel a queued 1-to-1 postcard before the print cutoff window closes.

`piece_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mail_campaign_status` Mail campaign status Read**

Check delivery status, USPS tracking events, and QR scan attribution for one or all direct mail campaigns in this workspace.

`campaign_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_domain_setup` Email domain setup Approval gated**

Set up built-in email sending from a workspace domain. Uses Keystone DNS when the zone is on the platform, the customer connected DNS account when one is connected, and the registrar or browser-delegation route when one is available. Shows every planned email DNS change in the approval before applying it, never touches unrelated records, and keeps undo data. dry_run true only previews. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`domain`stringRequiredApex or subdomain to send from, such as sarahsdental.com or mail.sarahsdental.com.  
`sender_local_part`stringThe part before @, default hello.  
`dry_run`booleantrue to preview the exact DNS diff without applying it.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_dns_undo` Email DNS undo Approval gated**

Undo one approved email DNS setup by plan id. Restores updated records and removes only records Keystone created; unrelated DNS records are never touched. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`plan_id`stringRequiredundo_plan_id returned by email_domain_setup.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_send` Email send Approval gated**

Send transactional email from the workspace domain once email_domain_setup is ready, or from the Keystone starter sender until then. Use for one-to-one email, customer follow-ups, receipts and service notices. Marketing or promotional campaigns are refused because this sender is transactional only. More than one recipient is bulk mail: it needs the workspace postal address and owner approval, adds one-click unsubscribe, and stays within workspace rate limits. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`to`objectRequiredOne recipient, a comma-separated list, or an array. Maximum 50. Bulk sends need approval.  
`subject`stringRequired  
`text`string  
`html`string  
`purpose`"transactional" | "follow_up" | "receipt" | "service_notice"The transactional purpose. Marketing and promotional campaigns are not supported.  
`from`stringextra sender on a domain already set up in this workspace.  
`reply_to`string  
`physical_address`stringRequired for bulk email: the workspace business postal address.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_status` Email status Read**

Read built-in email status for this workspace: sender domain, DNS state, recent sends, failures, wallet charges, rate limits and the suppression count. Also mirrors provider bounce and complaint suppressions into Keystone when the management token allows it.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_marketing_domain_setup` Email marketing domain setup Approval gated**

Set up customer-domain SPF, DKIM and DMARC for marketing email campaigns using automated DNS editing in Keystone (Keystone DNS, a connected customer DNS account, GoDaddy or API Anything). Shows every planned DNS change in the approval before applying it and stores undo data. Never requires manual DNS copy-paste when DNS access is connected. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`domain`stringRequiredApex or subdomain to send campaigns from, such as harborpointdental.com.  
`sender_local_part`stringThe address part before @, default hello.  
`sender_name`stringextra sender display name, such as Harbor Point Dental.  
`dry_run`booleantrue to preview the exact DNS diff without changing records.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_template_save` Email template save Write**

Create or update a reusable marketing email template in this workspace. Supports merge tags {{first_name}}, {{last_name}}, {{full_name}}, {{email}} and {{business_name}}.

`template_id`stringPass an existing template id to update it.  
`name`stringRequired  
`category`"newsletter" | "promotion" | "announcement" | "reactivation" | ...  
`subject`stringRequired  
`preheader`string  
`html`string  
`text`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_template_list` Email template list Read**

List saved marketing email templates in this workspace.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_campaign_create` Email campaign create Write**

Create a draft marketing email campaign targeting a contact segment (segment_id), a CRM tag (tag) or an explicit recipient list. Optionally starts from a saved template_id. Requires the business physical postal address for CAN-SPAM compliance. Nothing sends until email_campaign_send is approved by the owner.

`name`stringRequired  
`template_id`stringextra saved template id.  
`subject`stringRequired unless template_id provides it.  
`preheader`string  
`html`string  
`text`string  
`from`stringSender email on a marketing domain set up in this workspace.  
`from_name`string  
`reply_to`string  
`physical_address`stringRequiredRequired business physical postal address shown in the CAN-SPAM footer.  
`segment_id`stringKeystone audience/segment id (aud_...) to target.  
`tag`stringWorkspace CRM contact tag to target.  
`recipients`object[]extra explicit recipient list when not targeting a segment_id or tag.  
`exclude_converted`booleanFor segments, skip contacts already marked converted.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_campaign_send` Email campaign send Approval gated**

Send a drafted marketing email campaign to its target segment or tag. Always stops for owner approval showing the exact email subject, body, physical address footer, audience count and estimated wallet cost. Filters the shared suppression list, adds RFC 8058 one-click unsubscribe headers and open/click tracking, and bills one wallet line under email_marketing. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`campaign_id`stringRequiredDraft campaign id returned by email_campaign_create.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/email_campaign_report` Email campaign report Read**

Read marketing email campaign metrics for this workspace: sent, delivered, unique opens, open rate, unique clicks, click rate, top clicked links, bounces, complaints, unsubscribes, shared suppressions and single-line wallet charges.

`campaign_id`stringPass a campaign_id for one campaign report, or omit for a workspace summary.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Content and job photos25 endpoints**

**POST `/v1/tools/neighbor_campaign_settings` Neighbor campaign settings Write**

Read or change the workspace settings for finished-job postcards. Oppizi is the default. Set targeted for a Current Resident mailing list.

`settings`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/neighbor_campaign_draft` Neighbor campaign draft Write**

Draft a postcard for a finished job. To prepare an Oppizi mailing, upload the artwork in Oppizi and pass campaign_id, design_id and mail_date. Approve the finished mailing in the content queue.

`job_id`string  
`source_app`stringPoll only this connected field-service app.  
`campaign_id`string  
`design_id`integer  
`mail_date`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/neighbor_campaign_queue` Neighbor campaign queue Read**

List the workspace’s neighbor postcard drafts and open the content queue to review and approve exact mailing details.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/neighbor_campaign_results` Neighbor campaign results Read**

Count workspace form submissions attributed to a campaign’s postcard link.

`campaign_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/buyer_phrases` Buyer phrases Read**

Mine the last 90 days of calls, reviews, form messages, Google Ads search terms and Search Console queries in this workspace, then return the stored buyer phrase bank with counts and examples. Set refresh to false to read the existing bank without collecting again.

`refresh`booleanCollect fresh source text and rebuild the phrase bank before returning it.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ads_from_phrases` Ads from phrases Write**

Draft Google responsive search ad copy and Meta ad copy from the workspace buyer phrase bank. Every headline, description and primary text shows the buyer phrase it came from. Drafts wait in the content approval queue, apply only through paused ad write tools, and never enable spend.

`platform`"google" | "meta" | "both"  
`refresh`booleanRebuild the phrase bank before drafting.  
`service`stringService name to use when the phrase bank needs a service frame.  
`landing_url`stringLanding URL to carry into the Google ad application payload.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/ads_phrase_report` Ads phrase report Read**

Compare the buyer phrase bank with copy currently present in Google and Meta ads, then report which customer phrases are missing and which are already covered. Read only.

`customer_id`stringBound Google Ads customer ID. Omit to check every bound customer.  
`include_meta`boolean  
`refresh`booleanRebuild the phrase bank before comparing.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_draft_list` Content draft list Read**

List the content drafts waiting for approval in this workspace, with the kind, the title, the status, any schedule and the changes a person asked for (read the draft, make those changes, then tell the person). Storm campaigns land here too, as a landing page and a Google Ads campaign plan. A draft is never published until a person approves it.

`status`"pending" | "approved" | "published" | "rejected"  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_drafts` Content drafts Read**

Compatibility alias for content_draft_list. List the content drafts waiting for approval in this workspace, with the kind, the title, the status, any schedule and the changes a person asked for (read the draft, make those changes, then tell the person). Storm campaigns land here too, as a landing page and a Google Ads campaign plan. A draft is never published until a person approves it.

`status`"pending" | "approved" | "published" | "rejected"  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_draft_get` Content draft get Read**

Read one saved content draft without approving or publishing it, with its title, meta description and body.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_draft` Content draft Read**

Compatibility alias for content_draft_get. Read one saved content draft without approving or publishing it, with its title, meta description and body.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_approve` Content approve Write**

Approve a content draft so it can be published. Read the draft first and tell the person what it says.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_reject` Content reject Write**

Reject a content draft. It stays in the list with the rejected status.

`id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_publish` Content publish Approval gated**

Publish an approved content draft. Pages go to the workspace content site and Business Profile posts go to the bound location. An approved Google Ads campaign plan comes back ready for ads_campaign_launch, which builds it paused; it spends nothing until someone enables it. A draft that nobody approved cannot be published. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`id`stringRequired  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_schedule` Content schedule Write**

Read or change the weekly content plan for this workspace: which kinds of content run, the services and city the copy uses, the topics, and how many drafts each week.

`kind`"service_area_page" | "blog_post" | "business_profile_post"The kind of content to change. Leave empty to read the whole plan.  
`enabled`booleanTurn a kind of content on or off.  
`settings`object  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_draft_create` Content draft create Read**

Create and save one unpublished draft now for a kind of content and put it in the approval queue. The weekly schedule does not change.

`kind`"service_area_page" | "blog_post" | "business_profile_post"Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/content_draft_now` Content draft now Read**

Compatibility alias for content_draft_create. Create and save one unpublished draft now for a kind of content and put it in the approval queue. The weekly schedule does not change.

`kind`"service_area_page" | "blog_post" | "business_profile_post"Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/job_photos_recent` Job photos recent Read**

List the finished jobs in this workspace that Keystone has photos for. Each entry shows the before and after photo it picked, what the vision model saw, and how many drafts are waiting for approval.

`limit`integerHow many jobs to list.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/job_content_draft` Job content draft Write**

Write the content for one finished job: a Business Profile post, a project page with the photos, a social caption and a short vertical video plan. Every draft waits in the approval queue. Nothing is published until a person approves it.

`job`stringRequiredThe job reference from job_photos_recent, such as companycam:abc123, or a job id.  
`channel`"business_profile_post" | "project_page" | "social_caption" | "video_plan"Write one kind of draft. Leave empty to write every kind the workspace asked for.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/job_content_settings` Job content settings Write**

Read or change the job photo settings for this workspace: whether Keystone writes drafts on its own for finished jobs, and which kinds of content it writes.

`auto_draft`booleanTurn automatic drafting on or off.  
`channels`"business_profile_post" | "project_page" | "social_caption" | "video_plan"[]The kinds of content Keystone writes for each job.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/video_edit` Video edit Approval gated**

Edit a short social video for TikTok, Instagram Reels, YouTube Shorts, and LinkedIn from the business's raw clips, photos, cleared job pictures, B-roll, or a prompt. Adds frame-0 hooks, word-timed captions, cleared licensed music, brand colors, workspace logo, platform resizing, and a thumbnail. Routes automatically between the fast cloud renderer and Keystone Computer for heavy multi-clip renders. Call with preview true first to see the edit plan, renderer choice, music license, and wallet cost before spending; call with preview false to start rendering from the wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)

`prompt`stringRequiredWhat the video should show and say.  
`preview`booleanTrue shows the edit plan, chosen renderer, music license, and exact wallet estimate without charging or rendering.  
`title`string  
`hook`stringOpening line on frame 0 so viewers stop scrolling.  
`cta`stringClosing call to action.  
`platforms`"tiktok" | "instagram_reels" | "youtube_shorts" | "linkedin"[]Target platforms: tiktok, instagram_reels, youtube_shorts, linkedin.  
`aspect_overrides`objectOverride default aspect ratio per platform (for example linkedin as 1:1 or 16:9).  
`clips`object[]Raw video clips stored in this workspace.  
`photos`object[]Photos stored in this workspace.  
`broll`object[]B-roll photos or clips stored in this workspace.  
`job_set_id`stringInclude cleared photos from a saved job photo set (restricted photos with faces, plates, or house numbers are held back).  
`music_mood`"upbeat" | "warm" | "modern" | "calm" | ...Cleared background music mood: upbeat, warm, modern, calm, acoustic, editorial.  
`music_track_id`stringSpecific track id from Keystone cleared music library.  
`voice`objectNarration voice name, or null for captions and music only.  
`brand_color`stringPrimary brand hex color such as #1d4ed8.  
`brand_secondary`stringBackground brand hex color such as #1c1917.  
`caption_style`"bold_highlight" | "clean_pill" | "minimal_bottom"  
`renderer`"auto" | "browser" | "computer"auto routes short edits to the fast cloud renderer and heavy multi-clip edits to Keystone Computer.  
`target_seconds`number  
`beats`object[]  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/video_status` Video status Read**

Check the render status of a social video (or list recent social videos in this workspace): returns platform video links, aspect ratios, thumbnail link, timed captions, licensed music record, wallet cost, and any drafted or scheduled social posts.

`video_id`stringSpecific video id from video_edit. Omit to list recent videos for this business.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/social_post_draft` Social post draft Write**

Draft or edit platform-specific social posts (TikTok, Instagram Reels, YouTube Shorts, LinkedIn) for a social video. Checks whether each social account is connected in this workspace and returns a one-click sign-in link for any missing account (no manual setup). Never publishes on its own.

`video_id`stringRequiredVideo id from video_edit or video_status.  
`post_id`stringPass an existing draft post id to update its caption, title, or hashtags.  
`platforms`"tiktok" | "instagram_reels" | "youtube_shorts" | "linkedin"[]Platforms to draft for. Defaults to the platforms the video was edited for.  
`caption`stringCustom post caption. Leave out to draft from the video hook and script.  
`title`stringTitle for YouTube Shorts or LinkedIn.  
`hashtags`string[]  
`first_comment`stringLink or note to place as the first comment.  
`timezone`stringIANA time zone such as local time zone.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/social_post_schedule` Social post schedule Approval gated**

Owner-approved scheduling and publishing for social video drafts through the business's own connected social accounts, plus recurring weekly scheduling via Loops. action schedule queues a drafted post for publish_at (or posts right away when publish_at is omitted or "now"); action cancel cancels a scheduled post; action loop turns the workspace's weekly social video Loop on or off. Never posts without owner approval or an active connected social account. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)

`action`"schedule" | "cancel" | "loop"  
`post_id`stringDraft post id from social_post_draft (required for schedule and cancel).  
`publish_at`stringISO date-time such as YYYY-MM-DD, or "now" to publish immediately.  
`timezone`string  
`loop_enabled`booleanRequired when action is loop: true enables the weekly social video drafting Loop, false turns it off.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_nebula_image` Redshift nebula image Write**

Generate or edit images for this workspace with Redshift Nebula (logos, flyers, product shots, hero visuals and social graphics). Saves every image in this workspace storage and bills the wallet per image. Requires Redshift to be turned on. Refuses real-person likeness and logo impersonation requests.

`prompt`stringRequiredVisual description of the image to generate, or the edit to apply to source_image_id.  
`action`"generate" | "edit"Use generate for a new image, or edit with source_image_id to modify an existing image in this workspace.  
`source_image_id`stringExisting Nebula image id from this workspace to edit. Required when action is edit.  
`size`"1024x1024" | "1536x1024" | "1024x1536"Output size: 1024x1024 (square), 1536x1024 (landscape), or 1024x1536 (portrait).  
`n`integerNumber of images to create, from 1 to 4.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Team and permissions6 endpoints**

**POST `/v1/tools/team_my_access` Team my access Read**

Shows your role and permissions in the current workspace: which apps and Keystone modules you may read, write, upload to, send from or spend in, and whether you may approve.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/team_list` Team list Read**

Lists the people who can use the current workspace, their roles and permissions, pending invites, and the seat count and monthly cost. For owners, admins and client admins who run this workspace team.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/team_invite` Team invite Write**

Invites a person by email to the current workspace (or, with whole_account, to every workspace, for agency staff) with a role and a permission profile. Each workspace includes 3 users; an extra user adds $10 a month, so the call fails until confirm_extra_user is true. Returns the invite link; the email is sent too when email is set up.

`email`stringRequiredTheir email address. They sign in with it.  
`role`"admin" | "member"admin: everything in the workspace, approves, runs the team. member: uses the permission profile.  
`preset`"manager" | "staff" | "custom"manager: Reads, writes, uploads and sends in every app and module. Cannot spend or approve. staff: Reads every app and module. Changes nothing. custom: You choose per app and per module.  
`permissions`object  
`whole_account`booleanGive access to every workspace in the account (agency staff). Owners and admins only.  
`confirm_extra_user`booleanSet true after the person agrees to the $10 a month for a user beyond the 3 included.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/team_update_member` Team update member Write**

Changes one person's role or permission profile in the current workspace, or account-wide with whole_account. Get user_id from team_list.

`user_id`stringRequired  
`role`"admin" | "member"  
`preset`"manager" | "staff" | "custom"manager: Reads, writes, uploads and sends in every app and module. Cannot spend or approve. staff: Reads every app and module. Changes nothing. custom: You choose per app and per module.  
`permissions`object  
`whole_account`booleanChange their account-wide access instead of this workspace's.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/team_remove_member` Team remove member Destructive**

Removes one person from the current workspace (or the whole account with whole_account) and stops their tokens when they have no access left. The monthly seat count drops with them.

`user_id`stringRequired  
`whole_account`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/team_seats` Team seats Read**

Seat count and monthly cost for every workspace in the account: users, pending invites, the 3 included, extra users at $10 a month. Owners and admins only.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**AI check-ins, claims, agent mail and project feed33 endpoints**

**POST `/v1/tools/workspace_checkin` Workspace checkin Write**

Check in to the current workspace when you start work, about every 30 minutes on long jobs, and when you finish (task "done"). Records your lane and task, then returns what changed since your last check-in: mail waiting for you with wake hints, new feed posts, open questions and blockers, who else is active (AI sessions and people) and open claims. Use it whenever more than one AI or person may be working on this business.

`lane`stringRequiredThe job this session is doing, like "ads", "seo" or "website". Keep it the same for the whole job.  
`task`stringRequiredOne line: what you are doing now, or "done".  
`client`stringYour AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/workspace_who` Workspace who Read**

Who is working in the current workspace right now: AI sessions and people seen in the last 60 minutes (with lane, task and AI app) and every open claim with when it ends. Use the lane_id or lane name to send mail.

`minutes`integerHow far back counts as active. Default 60.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/work_claim` Work claim Write**

Claim a task or target before you start it so other sessions leave it alone, like "Google Ads spring offer", "website/home page" or "Google Business Profile". Targets nest with "/": "website" covers "website/home page", and "*" covers the whole workspace. Returns ok true with the claim id, or ok false with who holds an overlapping claim and when it ends; you then join the wait list and get a handoff message when they release it, so pick other work or ask them with agent_mail_send. Claiming again renews your own claim. Claims end after 60 minutes unless you set minutes (5 to 480).

`target`stringRequiredWhat you are taking on.  
`note`stringOne line on what you will do.  
`minutes`integer  
`wait`booleanWhen someone else holds it, join the wait list for a handoff message. Default true.  
`lane`stringYour lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.  
`client`stringYour AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/work_release` Work release Write**

Release your claim when you finish or stop (by claim id, or by target). Sessions waiting for it get a handoff message with your note. Say what is done and what is left.

`id`stringThe claim id from work_claim.  
`target`stringOr the target you claimed.  
`note`stringWhat is done, what is left, and where.  
`lane`stringYour lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.  
`client`stringYour AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_mail_send` Agent mail send Write**

Send a direct message to another AI lane or a person in the current workspace: a question, a review request, a handoff, a reply or a note. to: a lane_id or lane name from workspace_who, or a teammate's email. wake_hint is one line telling the recipient's next session what to do first. Reuse request_id when you retry so the message is not sent twice.

`to`stringRequired  
`kind`"question" | "review" | "handoff" | "reply" | ...  
`subject`string  
`body`stringRequired  
`wake_hint`string  
`reply_to`stringMessage id you are answering.  
`request_id`string  
`lane`stringYour lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.  
`client`stringYour AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_mail_inbox` Agent mail inbox Read**

Read messages waiting for your lane in the current workspace, oldest first. personal: true adds messages sent to you as a person. Act on each, then call agent_mail_ack with its id.

`personal`booleanAlso show messages addressed to you as a person.  
`include_read`booleanShow recent acknowledged messages too.  
`lane`stringYour lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.  
`client`stringYour AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_mail_ack` Agent mail ack Write**

Acknowledge messages you have read, by id, so the sender sees they arrived and your next session does not get them again.

`message_ids`string[]Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/project_post` Project post Write**

Post to the current workspace's project feed, which the team sees in the app and every AI sees on check-in. kind: update (progress), question (needs an answer), blocker (you are stuck), handoff (what is done and what is left), decision (what was chosen and why), done (finished). reply_to answers a post; resolve: true with reply_to marks the question or blocker answered. Keep it short and concrete.

`kind`"update" | "question" | "blocker" | "handoff" | ...  
`title`string  
`body`stringRequired  
`reply_to`string  
`resolve`boolean  
`lane`stringYour lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.  
`client`stringYour AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/project_feed` Project feed Read**

Read the current workspace's project feed, newest first. With post_id: that post and its replies. Filter by kind, open questions and blockers only, or since a time.

`post_id`string  
`kind`"update" | "question" | "blocker" | "handoff" | ...  
`open_only`boolean  
`since`stringISO time; only posts after it.  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/handoff_create` Handoff create Write**

Create a portable, privacy-filtered handoff packet for work in this workspace. It can go to a local AI, a Redshift agent or team thread, or a Redshift Computer driver switch. Pass run_id, source_thread_id or mission_id to use Keystone run history, or pass the last session messages yourself. Attach claim_target or claim_id when the work is claimed; accepting the handoff moves that claim.

`target`"local_ai" | "redshift_agent" | "redshift_team" | "computer_driver"  
`agent`stringFor a Redshift target, the built-in or custom agent key. Default account_manager.  
`driver`stringFor a computer driver switch: claude_code, codex, grok or redshift.  
`thread_id`stringFor redshift_team or computer_driver, the thread to continue. Use source_thread_id to packetize an Agents v2 thread.  
`source_thread_id`string  
`run_id`string  
`mission_id`string  
`title`string  
`goal`string  
`instructions`string  
`claim_id`string  
`claim_target`string  
`files`string[]  
`links`string[]  
`records`string[]  
`memory_ids`string[]  
`notebook_refs`string[]  
`messages`object[]  
`message_limit`integer  
`expires_minutes`integer  
`lane`stringYour lane, the same as workspace_checkin uses. Omit to use your current lane.  
`client`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/handoff_receive` Handoff receive Read**

Receive an active handoff by id or short code in this workspace. Returns the filtered packet and a ready-to-paste prompt. This does not accept it or move the claim; call handoff_accept before starting the work.

`handoff`stringRequiredThe handoff id or short code, like HO-1A2B3C4D.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/handoff_list` Handoff list Read**

List handoff packets in this workspace, newest first. Packets never cross accounts or workspaces. Filter by status active, accepted, revoked or expired.

`status`"active" | "accepted" | "revoked" | "expired"  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/handoff_accept` Handoff accept Write**

Accept an active handoff once. This moves any attached collaboration claim to your lane so two agents do not work the same target. Redshift targets are seeded as Agents v2 runs; computer driver targets return the switch payload for the Redshift Computer app.

`handoff`stringRequired  
`lane`stringYour lane, the same as workspace_checkin uses. Omit to use your current lane.  
`agent`string  
`driver`string  
`client`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/handoff_revoke` Handoff revoke Write**

Revoke an active handoff so it can no longer be received or accepted. The creator or an owner or admin can revoke it. Already accepted handoffs stay closed.

`handoff`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_agents` Redshift agents Read**

The five Redshift business agents for this workspace (Account Manager, Reviews, Ads, Front Desk, Bookkeeper): which are on, their model, Loops and next runs, spend this month against the ceiling, actions waiting for approval and recent runs.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_agent_set` Redshift agent set Write**

Turn a Redshift agent on or off for this workspace, pick its Redshift model (redshift_agents lists them) or give it standing notes. Turning one on creates its default Loops. Owners and admins only.

`agent`"account_manager" | "reviews" | "ads" | "front_desk" | ...RequiredOne of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).  
`on`boolean  
`model`stringOne of the Redshift model ids that redshift_agents lists.  
`notes`stringStanding notes the agent reads on every run, like tone or what to leave alone.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_agent_run` Redshift agent run Write**

Run a Redshift agent now on a task in this workspace and return its output. The run spends a few cents from the wallet (shown in the result); sends and spends it wants wait for approval. Owners and admins only.

`agent`"account_manager" | "reviews" | "ads" | "front_desk" | ...RequiredOne of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).  
`task`stringRequiredWhat to do, in plain words. Leave the business out; the agent knows it.  
`model`stringOne of the Redshift model ids that redshift_agents lists.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_runs` Redshift runs Read**

Recent Redshift agent runs in this workspace with status, cost and summary, or one run in full (pass run_id) with its notebook note path and steps.

`run_id`string  
`agent`"account_manager" | "reviews" | "ads" | "front_desk" | ...One of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_loop_set` Redshift loop set Write**

Change one Redshift Loop in this workspace: turn it on or off, set its schedule (daily, weekly, monthly or every N minutes, in the business time zone), or its model. Owners and admins only.

`loop_id`stringRequired  
`on`boolean  
`schedule`object  
`model`stringOne of the Redshift model ids that redshift_agents lists.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_budget_set` Redshift budget set Write**

Set this workspace's monthly Redshift cap, in dollars. It covers the agents and every other Redshift use in the workspace. When it is reached, runs stop and Loops pause until next month. Owners and admins only.

`monthly_dollars`numberRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mission_start` Mission start Write**

Start a durable Keystone mission: one big goal, a wallet allowance and a deadline. The first call returns an estimate and does not start anything. Show the estimate to the person, wait for a clear yes, then call again with confirm true. Once started, Keystone plans with Redshift Supernova, runs steps as child Redshift agents, uses approvals for money, contracts, recurring charges and protected sends, and keeps events, proof and receipts until done or stopped.

`goal`stringRequiredThe real-world goal in plain words.  
`budget_dollars`numberRequiredMaximum total mission allowance in US dollars. Minimum $3 because planning uses Redshift Supernova. The engine treats it as a hard allowance.  
`deadline`objectRequiredDeadline as unix milliseconds or an ISO date/time.  
`per_item_limit_dollars`numberAny single step estimated above this amount waits for owner approval.  
`parallel_limit`integerMaximum mission tasks running at once.  
`confirm`booleantrue only after the person saw the estimate and clearly said to start.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mission_status` Mission status Read**

Read one mission or list recent missions in this workspace: plan tree, live statuses, proof, questions, approvals, events, spend and receipts. Pass after_event_id to receive only newer events.

`mission_id`stringOmit to list recent missions.  
`event_limit`integer  
`after_event_id`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mission_steer` Mission steer Write**

Add owner direction to a running mission, or answer its one clear owner question. The answer is durable and the next scheduler tick replans or resumes affected steps.

`mission_id`stringRequiredMission id from mission_start or mission_status.  
`direction`stringRequiredNew direction, constraint or answer for the mission.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mission_pause` Mission pause Write**

Pause a mission so no new steps start, or resume a paused mission. Running child steps finish their current run.

`mission_id`stringRequiredMission id from mission_start or mission_status.  
`paused`booleantrue pauses, false resumes.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mission_stop` Mission stop Write**

Kill switch for a mission. It stops new work immediately and records the reason. Running child steps finish their current model step but cannot start again.

`mission_id`stringRequiredMission id from mission_start or mission_status.  
`reason`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/mission_approve` Mission approve Write**

Approve or deny a mission step waiting on the owner. mission_status gives approval_token for the waiting node. Use this only after the person clearly says yes or no to that exact step.

`mission_id`stringRequiredMission id from mission_start or mission_status.  
`approval_token`stringRequiredThe signed token from mission_status for the waiting node.  
`decision`"approve" | "deny"Required  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_create` Agent create Write**

Create a custom specialist agent in this workspace with instructions, allowed tools, a default model and an extra per-run budget. The agent can then be sent work with agent_thread_send or delegated to by other agents.

`name`stringRequired  
`instructions`stringRequired  
`tools`string[]  
`model`string  
`budget_usd`number  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_update` Agent update Write**

Update, enable or disable a custom specialist agent in this workspace. Pass only the fields to change.

`agent`stringRequired  
`name`string  
`instructions`string  
`tools`string[]  
`model`string  
`budget_usd`number  
`enabled`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_thread_send` Agent thread send Write**

Send a goal to a custom or built-in agent and run it now. Pass thread_id to continue a thread. The run is budgeted, resumable, and pauses when approval is needed.

`agent`stringRequired  
`message`stringRequired  
`thread_id`string  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_thread_read` Agent thread read Read**

Read a custom agent thread: its recent runs, status, summaries, held count, cost and notebook links.

`thread_id`stringRequired  
`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_run_cancel` Agent run cancel Write**

Cancel a waiting or running agent run in this workspace. Running model steps stop at the next durable checkpoint; waiting approval resumes are closed.

`run_id`stringRequired  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_fleet_deploy` Agent fleet deploy Write**

Deploy a custom agent definition to other workspaces in this account. It copies instructions, tools, model and budget without copying threads, runs or workspace data.

`agent`stringRequired  
`workspace_ids`string[]Required  
`enabled`boolean  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/agent_list` Agent list Read**

List custom specialist agents in this workspace.

`limit`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**Redshift Computer (terminal, files, commands)8 endpoints**

**POST `/v1/tools/redshift_computer_status` Redshift computer status Read**

Shows this workspace's Redshift Computer: awake, asleep, paused or off, this month's awake hours and spend against its limit, and recent snapshots. The computer is a persistent Linux machine for this one business, with files in /workspace. Does not wake it.

`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_run` Redshift computer run Write**

Runs a shell command on this workspace's Redshift Computer (Linux, bash, git, Node, Python) and returns its exit code and output. Wakes the computer when it is asleep; awake time is billed to the wallet. Runs as the AI user in /workspace. Output is capped at 64 KB per stream; the command is stopped at its timeout. Your app tools are reachable from inside at $KEYSTONE_MCP_URL with $KEYSTONE_MCP_TOKEN.

`command`stringRequiredThe command line, run with bash -lc.  
`cwd`stringDirectory under /workspace. Default /workspace.  
`timeout_seconds`integerStop the command after this many seconds (at most 600).  
`stdin`stringText for standard input.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_files_read` Redshift computer files read Read**

Reads a file, or lists a folder, on this workspace's Redshift Computer. Paths are under /workspace. Text comes back as text; binary files as base64. Files over 1 MB are cut at 1 MB.

`path`stringRequiredAbsolute path under /workspace, such as /workspace/report.md or /workspace.  
`max_bytes`integer  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_files_write` Redshift computer files write Write**

Writes a file on this workspace's Redshift Computer, creating folders as needed. Paths are under /workspace. Replaces an existing file. Up to 5 MB; send binary content as base64.

`path`stringRequiredAbsolute path under /workspace.  
`content`stringRequired  
`encoding`"utf8" | "base64"  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_snapshot` Redshift computer snapshot Write**

Saves a named copy of /workspace on this workspace's Redshift Computer, encrypted in Redshift storage. An owner or admin can restore it from the computer page. Use before a risky change.

`name`stringA short label, such as "before site rebuild".  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_history` Redshift computer history Read**

Lists this workspace computer's /workspace history snapshots, newest first. Each entry has a snapshot id, time and a one-line summary of files added, changed or removed. Read-only; it does not wake the computer.

`limit`integerHow many snapshots to return (at most 100).  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_diff` Redshift computer diff Read**

Compares two /workspace history snapshots and returns changed files with a bounded text diff. Use snapshot ids from redshift_computer_history. Binary files are marked without dumping bytes. Read-only; it does not wake the computer.

`from_snapshot`stringRequiredThe older snapshot id, branch or tag.  
`to_snapshot`stringRequiredThe newer snapshot id, branch or tag.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.

**POST `/v1/tools/redshift_computer_restore` Redshift computer restore Approval gated**

Restores this workspace computer's /workspace to a snapshot from redshift_computer_history. This replaces files in /workspace, so a person must approve the exact snapshot first. Current uncommitted work is checkpointed first when possible, and the restore is saved as a new forward history entry. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)

`snapshot`stringRequiredThe snapshot id (commit) from redshift_computer_history.  
`approval_id`stringThe approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.  
`workspace`stringWorkspace slug or id. Omit to use your active workspace.
