runtime_evaluate_many
Evaluate multiple named expressions in one round trip and receive a name-to-result map, reducing overhead when sampling app state. Individual failures are reported per entry rather than aborting the entire batch.
Instructions
Evaluate several named expressions in one round trip and get a map of name to result. Use it to sample a lot of app state at once instead of paying a round trip per question. Individual failures are reported per entry rather than aborting the batch.
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": {
"expressions": "<expressions>"
},
"name": "runtime_evaluate_many"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expressions | Yes | Array of { name, expression } objects. | |
| await_promise | No | Await promise results. |