Get raw target JSON
get_target_jsonRetrieve a sprite's or the Stage's raw project.json data—blocks, costumes, sounds, variables—to inspect before patching. Use an optional JSON Pointer to fetch a specific subtree like /blocks.
Instructions
A target's complete raw project.json entry — blocks (scripts), costumes, sounds, variables, lists and properties — exactly as stored. Read this first to author a patch_target edit, since the patch paths are JSON Pointers into this object. Pass pointer to fetch just a subtree (e.g. "/blocks" or "/blocks/abc123") and keep the response small.
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": {
"name": "<name>"
},
"name": "get_target_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Sprite name, or "Stage". | |
| pointer | No | Optional JSON Pointer (RFC 6901) to a subtree, e.g. "/blocks". Omit or pass "" for the whole target. |