Create shape
create_shapeSave a shape: your own form for a tool's result, such as only some fields, renamed, filtered, sorted, counted or averaged. Pomerado writes and checks it from your words in a few seconds.
Then pass its id as shape when you run the tool with run_read_only_website_tool or run_website_tool. The run returns the result in that form, keeping paging fields such as next_cursor.
A shape only reshapes what the tool returns. For data the tool doesn't return, it answers needs_tool_change: ask for it with change_website_tool.
Pass shape_id to change one of your shapes. Shapes are free, and only you can see and use them.
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": {
"tool_id": "<tool_id>",
"request": "<request>"
},
"name": "create_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Describe the intended use case in one sentence: what this call should do and why, such as "Check a store's opening hours to answer when it opens today". Describe the task, not the person: leave out names, contact details, account numbers and anything used to sign in. Pomerado uses it to improve its tools. Optional, but recommended: please include it on every call. | |
| request | Yes | The result you want, in your own words: which fields, renamed how, filtered, sorted, counted or averaged, such as "only the name and price in dollars, cheapest first" | |
| tool_id | Yes | The tool whose result you want in another form | |
| shape_id | No | One of your shapes of this tool, to change it instead of making a new one |