update_deal_attachment
Update an existing deal attachment by providing its ID, the deal ID, and a new externally hosted file URI. Include the file name to complete the update.
Instructions
Update a deal attachment. (PUT /dealAttachments/{id})
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": {
"id": "<id>",
"dealId": "<dealId>",
"uri": "<uri>",
"fileName": "<fileName>"
},
"name": "update_deal_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| uri | Yes | The URI of an **externally** hosted file. | |
| dealId | Yes | The id of the deal you want to update the attachment to. | |
| fileName | Yes | Name of the file. | |
| fileSize | No | Size of the file in bytes. | |
| extraBody | No | Extra raw JSON body fields not explicitly listed above — e.g. custom.* fields when creating/updating people or deals. Keys and values are sent as-is. | |
| extraQuery | No | Extra raw query parameters not explicitly listed above — e.g. FUB custom field filters like custom.ClosingDate on /people or /deals. Keys and values are sent as-is. |