Spy Import Python File
spy_import_python_fileTurn an existing .py file into Scratch blocks. Provide the file path to import and convert Python code into editable blocks for Scratch projects.
Instructions
Turn an existing .py file on disk into blocks.
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": {
"path": "<path>"
},
"name": "spy_import_python_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |