Save the client record for a site
set_client_recordSaves who a site is for and where things stand: business name, contact name/email/phone, the source pages its facts came from, status (prospect, pitched, managed, declined, transferred_out) and notes. Only the fields you pass change; null clears one. list_sites shows each site's record.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_client_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Free-text notes (max 5000 chars). Null clears them. | |
| status | No | Where the relationship stands. | |
| site_key | No | The site the record is about. Defaults to the caller's current draft site when omitted. | |
| draft_token | No | The draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header. | |
| source_urls | No | The business's own pages the site's facts came from (http/https, max 20). Replaces the stored list. | |
| contact_name | No | The person to talk to at the business. Null clears it. | |
| business_name | No | The client business name. Null clears it. | |
| contact_email | No | Their email. Null clears it. | |
| contact_phone | No | Their phone. Null clears it. |