template_builder_upload_file
Upload a nonempty file to an editable template; an existing file may be replaced.
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": {
"headId": "<headId>",
"path": "<path>",
"fileName": "<fileName>",
"fileData": "<fileData>"
},
"name": "template_builder_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination folder path relative to the template. | |
| headId | Yes | Template head ID. | |
| fileData | Yes | Base64-encoded file contents. | |
| fileName | Yes | Name of the uploaded file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Operation-specific data, including any result returned on failure. | |
| error | No | ||
| status | No | Manager outcome when returned by the operation. | |
| success | No | ||
| statusCode | No | ||
| errorDetails | No |