Call the preview from a view
preview_callUsed by a view shown with show_preview. Don't call it yourself.
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": {
"preview": "<preview>",
"tool": "<tool>"
},
"name": "preview_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| tool | Yes | ||
| app_py | No | ||
| preview | Yes | ||
| arguments | No |