Link lead to matter
link_lead_to_matterRecords that a lead belongs to an existing opened matter (Asana project) and its Dropbox folder, on the lead's portal record. Changes nothing in Asana or Dropbox. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.
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>",
"matter_id": "<matter_id>"
},
"name": "link_lead_to_matter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false or omitted returns a preview; true applies the change identified by preview_id. | |
| lead_id | Yes | Lead (intake-board task) id from list_recent_leads or find_matter. | |
| matter_id | Yes | Opened matter (Asana project) from find_matter or list_open_matters. | |
| preview_id | No | preview_id is the id returned by this tool's preview call. Required when confirm is true. | |
| idempotency_key | No | Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id. |