Spy Add Package Blocks
spy_add_package_blocksAdd blocks for any installed Python module, including standard library, to your Scratch project. Quickly generate block definitions to extend Scratch with module functions.
Instructions
Make blocks for an already-installed module (stdlib modules work too).
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": {
"module": "<module>"
},
"name": "spy_add_package_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |