Add a file to a link
upload_fileAdd or replace one file (image, video, font, CSS, JS, PDF) that a link loads by relative path, without changing the page. Up to 10 MB.
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": {
"link": "<link>",
"path": "<path>",
"base64": "<base64>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The link: its URL, slug, id or title. | |
| path | Yes | e.g. media/demo.mp4 | |
| base64 | Yes |