upload_file
Upload local files to Zulip and generate markdown for embedding images inline or creating download links in messages.
Instructions
Upload a local file to Zulip and return markdown to embed it in messages.
Args: file_path: Absolute path to the file to upload.
Returns: Markdown that can be pasted into a message to embed the file. For images, this displays the image inline. For other files, this creates a download link.
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 |