attach_file_from_url
Download a file from a URL and attach it to a Moxie record. Supports clients, projects, deliverables, opportunities, expenses, and tickets.
Instructions
Attach a file to a Moxie record by providing a URL. The file will be downloaded and attached.
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": {
"type": "<type>",
"id": "<id>",
"fileUrl": "<fileUrl>"
},
"name": "attach_file_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique identifier of the object | |
| type | Yes | Type of object to attach the file to | |
| fileUrl | Yes | Valid HTTPS URL that Moxie will fetch the file from | |
| fileName | No | Name to give the attached file |