gradeNot graded
typeAction
Type text into the running Rebel-Sim Forth REPL, as if typed on the keyboard. Include a trailing newline to submit the line. Executing a word (e.g. "5 SQUARE .") and defining one (e.g. ": SQUARE DUP * ;") both just work — send them as text.
View tool JSON
{
"name": "type",
"kind": "act",
"impl": "imperative",
"description": "Type text into the running Rebel-Sim Forth REPL, as if typed on the keyboard. Include a trailing newline to submit the line. Executing a word (e.g. \"5 SQUARE .\") and defining one (e.g. \": SQUARE DUP * ;\") both just work — send them as text.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Characters to type, in order."
}
},
"required": [
"text"
]
},
"page": "/rebel-sim/"
}read_screenAnswer
Read the current text screen buffer, one row per line.
View tool JSON
{
"name": "read_screen",
"kind": "answer",
"impl": "imperative",
"description": "Read the current text screen buffer, one row per line.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}read_stackAnswer
Read the data stack, top to bottom, space-separated.
View tool JSON
{
"name": "read_stack",
"kind": "answer",
"impl": "imperative",
"description": "Read the data stack, top to bottom, space-separated.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}read_return_stackAnswer
Read the return stack, top to bottom, space-separated.
View tool JSON
{
"name": "read_return_stack",
"kind": "answer",
"impl": "imperative",
"description": "Read the return stack, top to bottom, space-separated.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}read_dictionaryAnswer
List all defined word names, most-recently-defined first.
View tool JSON
{
"name": "read_dictionary",
"kind": "answer",
"impl": "imperative",
"description": "List all defined word names, most-recently-defined first.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}read_banksAnswer
List memory banks (tag, name, base offset, size in bytes), one per line.
View tool JSON
{
"name": "read_banks",
"kind": "answer",
"impl": "imperative",
"description": "List memory banks (tag, name, base offset, size in bytes), one per line.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}debug_set_breakpointAction
Pause execution right before the named word runs, every time it is entered.
View tool JSON
{
"name": "debug_set_breakpoint",
"kind": "act",
"impl": "imperative",
"description": "Pause execution right before the named word runs, every time it is entered.",
"inputSchema": {
"type": "object",
"properties": {
"word": {
"type": "string",
"description": "Name of a defined word."
}
},
"required": [
"word"
]
},
"page": "/rebel-sim/"
}debug_clear_breakpointAction
Remove a breakpoint set by debug_set_breakpoint.
View tool JSON
{
"name": "debug_clear_breakpoint",
"kind": "act",
"impl": "imperative",
"description": "Remove a breakpoint set by debug_set_breakpoint.",
"inputSchema": {
"type": "object",
"properties": {
"word": {
"type": "string",
"description": "Name of a defined word."
}
},
"required": [
"word"
]
},
"page": "/rebel-sim/"
}debug_list_breakpointsAnswer
List all currently-armed breakpoints.
View tool JSON
{
"name": "debug_list_breakpoints",
"kind": "answer",
"impl": "imperative",
"description": "List all currently-armed breakpoints.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}debug_statusAnswer
Report whether the REPL is running normally or paused at a breakpoint.
View tool JSON
{
"name": "debug_status",
"kind": "answer",
"impl": "imperative",
"description": "Report whether the REPL is running normally or paused at a breakpoint.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}debug_continueAction
Resume execution after a breakpoint pause.
View tool JSON
{
"name": "debug_continue",
"kind": "act",
"impl": "imperative",
"description": "Resume execution after a breakpoint pause.",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"page": "/rebel-sim/"
}