Attach a document to a proposal
add_attachmentPrepare a form from documents: a proposal of every answer with its source, what is missing, and where documents disagree, before writing, plus attachments for a package. Attach one document (file_url: public https link, or file_base64) to a proposal from prepare_form. PDF, PNG and JPEG only, at most 20 per proposal. requirement: the name of an entry in the form's attachments_required list to satisfy it; uploading a second document for the same requirement replaces the first. Free: attachments are part of the already-billed prepare.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_url": "https://example.com/docs/proof-of-insurance.pdf",
"proposal_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"requirement": "Proof of insurance"
},
"name": "add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | ||
| file_base64 | No | ||
| proposal_id | Yes | ||
| requirement | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||