upload_file
Upload a file from your computer to Ed Discussion to get a URL for use in thread content or comments.
Instructions
Upload a file from your computer to Ed Discussion and get a URL you can use in thread content or comments.
Args: file_path: Absolute path to the file on your computer.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |