attach_file
Attach a local file to a CRM entity such as a company, contact, or lead by sending its base64-encoded content via JSON.
Instructions
Attach a local file to an entity (company, contact, lead, project, task, portfolio, calendar_event, or mesh) via the base64 JSON lane.
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": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>",
"path": "<path>"
},
"name": "attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entity_id | Yes | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||