Update a panel tab
panel_updateThe panel is the document beside the chat on the ShapelessAI Ask page (shapelessai.com/studio): tabs the person looks at while you talk, and the place they answer a question with a press or edit a plan's node by hand. The browser, the chat's own agent and you (from a terminal) share one panel per conversation. The page draws it for the founder's account today (it is being rolled out); every account holds and can read its panel through these tools and the API. Changes fields of an open tab (a new title, more search hits, the calendar's highlight); its kind never changes. On a story, chapter adds the next chapter or replaces the one with its id in place, so the page grows without resending it. An id not on the panel changes nothing. Needs the write scope.
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": {
"id": "<id>"
},
"name": "panel_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The tab's id (panel_open returned it; panel_watch lists them). | |
| focus | No | Also bring it to the front. | |
| patch | No | The fields to replace, as panel_open takes them, e.g. {"title": "Next week", "highlight": ["p1"]}. Give patch, chapter or both. | |
| chapter | No | story: one chapter, {id, kind, title, note?, ...its fields} as in panel_open's chapters; the same id replaces it in place. | |
| conversation_id | No | The conversation (job) id whose panel to use. Omit it to use the conversation the person opened last in the browser, which is the one they are most likely looking at. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| panel | Yes | ||
| conversation_id | Yes |