upload_attachment
Uploads a local file as an attachment and returns its attachment_token; use the token with update_* to link the file to a document or tax record.
Instructions
Carica un file locale come allegato e restituisce l'attachment_token. Poi collegalo con update_* passando { attachment_token }.
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": {
"file_path": "<file_path>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | No | issued_documents | |
| file_path | Yes | ||
| company_id | No | Azienda su cui operare. Default: FIC_COMPANY_ID o l'unica azienda del token |