wait_for_memory_block
Blocks until a labeled memory block is rewritten, then returns its fresh value or null on timeout—use it to watch a child's result block.
Instructions
Block until the memory block with the given label is rewritten and return the block with its fresh value, or null when the timeout lapses. This is how a parent watches a child's result block; it sees only rewrites after it subscribes and has no log replay, so read the current value with get_memory_block first. Use wait_for_result to await a task's result instead of a block, and wait_for_event for several event kinds. Scoped to your workspace. Requires workspace:read.
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": {
"label": "<label>"
},
"name": "wait_for_memory_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label of the memory block to watch, its workspace-unique name (surrounding whitespace is ignored). | |
| timeout_ms | No | Wait window in milliseconds, from 1 to 300000 (default 30000). When it lapses the tool returns null. |