Sb3 Find Blocks
sb3_find_blocksSearches all targets' block maps in the open Scratch project, applying AND filters for opcode substring, field value, input name, and top-level/hat-only status to pinpoint matching blocks.
Instructions
Query every target's blocks map in the open project. (proxied)
Filters combine (AND): opcode substring, field value, input name, topLevel-only. Needs an open project, not the VM.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sb3_find_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hat | No | ||
| limit | No | ||
| opcode | No | ||
| inputName | No | ||
| fieldValue | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |