upload_local_asset
Reads a local file and uploads it to Plone. Specify the file path and API URL to transfer the asset from your filesystem to your Plone site.
Instructions
Reads a file from the local filesystem and uploads it to Plone.
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": {
"api_url": "<api_url>",
"local_path": "<local_path>"
},
"name": "upload_local_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| cookie | No | ||
| api_url | Yes | ||
| local_path | Yes |