Add a lead
add_leadAdd a sales lead to a project's CRM store. Set status, value, and location to track pipeline value and map leads.
Instructions
Add a sales lead to the project's leads store (crm/leads.json). Status defaults to 'new' (pipeline: new → contacted → qualified → won/lost). Optional value and lat/lng power the pipeline value and the leads map.
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": {
"project": "<project>",
"name": "<name>"
},
"name": "add_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lng | No | ||
| city | No | ||
| name | Yes | ||
| No | |||
| value | No | Estimated deal value. | |
| source | No | ||
| status | No | ||
| company | No | ||
| project | Yes |