write_upload_asset
Attach a file to a page using base64 data and return the Markdown link needed to embed it. Use this to add uploads when local file paths cannot be read.
Instructions
Attach a file to a page from base64 data; answers with the Markdown link to embed it.
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": {
"page": "<page>",
"filename": "<filename>",
"base64": "<base64>"
},
"name": "write_upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id or path | |
| base64 | Yes | File content as base64; local paths are not read | |
| filename | Yes |