list_blocks
Lists available MakeCode block APIs in the open project as TypeScript signatures and block text. Pass a namespace to see its functions, or omit it to get namespaces and block counts.
Instructions
Block APIs available in the open project (core plus added extensions) as TypeScript signatures with their block text. Without namespace: namespaces and block counts. With namespace (e.g. basic, input, led, music, radio, pins, or an extension's namespace): its functions.
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": "list_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Namespace such as basic, input, led, music, radio, pins, neopixel |