vaka_upload_pdf
Upload a PDF from a local path to the info centre and replace same-named files, updating playlist slots after preview confirmation.
Instructions
WRITE. Upload a PDF from a local path to the info centre. A PDF with the same display name is replaced: the playlist slots that showed the old one show the new one, then the old one is removed. Two-step.
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": {
"path": "<path>"
},
"name": "vaka_upload_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| display_name | No | name shown in Vaka; default the file name | |
| confirm_token | No | Omit for the preview. To write, pass the confirm_token the preview returned, with the same arguments, after the user approved that exact change. A token works once and for 30 minutes. |