Set lead source
set_lead_sourcesCreate or update a workspace lead source: set its label and active state by key (built-in or custom, lowercase_with_underscores). Idempotent — re-sending the same key updates it. Archiving the fallback 'other' source is not allowed. Use list_lead_sources to see current sources. The result echoes the operating workspace.
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": {
"isActive": "<isActive>",
"key": "<key>",
"label": "<label>"
},
"name": "set_lead_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable source key, lowercase_with_underscores (built-in or custom). | |
| label | Yes | Human-readable label shown for this source in the UI. | |
| isActive | Yes | Whether the source is selectable for new leads. Set false to archive it (the fallback 'other' source cannot be archived). |