Open new matter
create_matterOpens a new matter from a lead: creates the Asana project from the firm's matter template in the portfolio for its Matter Type, creates the Dropbox client folder, records both on the lead, and posts one comment on the lead. Refuses unless the retainer is signed and paid, or staff_override_reason is given. Does not write the SSN, create an invoice, file documents, or email anyone, and the automatic signed-and-paid opening will not run for this lead afterwards. 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>",
"file_no": "<file_no>"
},
"name": "create_matter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false or omitted returns a preview; true applies the change identified by preview_id. | |
| file_no | Yes | The firm's File No for the new matter (digits). | |
| lead_id | Yes | Lead (intake-board task) id from list_recent_leads or find_matter. | |
| 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. | |
| staff_override_reason | No | Required only to open before the retainer is signed and paid. Recorded on the lead. |