Set lead owner
set_lead_ownerAssign or clear the owner of a lead. Omit org_member_id to claim the lead yourself; pass an org member id to assign someone else (CRM manager; the owner must be active staff, any role except Member). Pass org_member_id null to remove the owner so the lead shows as Unassigned (CRM manager). Runs on the first call; there is no confirmation step.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lead_id": "<lead_id>"
},
"name": "set_lead_owner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | the lead id, from list_leads | |
| org_member_id | No | org member to assign as owner; omit to claim it yourself; null to unassign | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { inquiry_date, referred_by, guest_count, budget, company, customer { email, id, name, phone }, customer_id, email, event_date, event_id, event_type, id, internal_notes, latitude, location, locked, longitude, lost_at, and 9 more fields } } | |
| error | No | when ok is false |