Create lead
create_leadCreate a CRM lead in the caller's active workspace. Use for capturing an enquiry from any channel (e.g. a Facebook lead). The lead is filed under the caller's active tenant and attributed to them. Pass 'source' to record the channel it came from. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": "create_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| No | |||
| phone | No | ||
| title | No | ||
| budget | No | ||
| custom | No | The workspace's own fields (keys from crm_list_fields): {key: value} sets, {key: null} removes, other keys stay. Values are validated by type — an enum lists its allowed options, money_eur accepts EUR only. | |
| source | No | ||
| company | No | ||
| message | No | ||
| lastName | No | ||
| firstName | No |