pet_screen_text
Read the PET screen as plain text. Decodes graphics to Unicode glyphs; style='ascii' restores legacy mapping. Faster and more reliable than screenshots for AI agents.
Instructions
Read the PET screen as plain text. This is the PREFERRED way to see program output — faster and more reliable than screenshots for AI use. Graphics decode to Unicode glyphs; style="ascii" restores the legacy conservative mapping.
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": "pet_screen_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | unicode | |
| session | No | ||
| ansi_reverse | No |