upload_document
Upload a new document by specifying the file path and filename, with optional details such as description, assigned date, and staff ID.
Instructions
Upload a new document. path is the file storage path/URL.
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": {
"filename": "<filename>",
"path": "<path>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| filename | Yes | ||
| staff_id | No | ||
| description | No | ||
| assigned_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |