poem_read
Parse .poem files to extract constants, structs, functions, and other elements, returning a structured representation. Use it to understand, discuss, or translate POEM specifications.
Instructions
Read and parse a .poem file into structured elements (constants, structs, functions, etc). Returns the parsed structure so you can understand, discuss, or translate the spec.
Use this when someone shares a .poem file or asks about its contents.
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": {
"source": "<source>"
},
"name": "poem_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The .poem file content | |
| filename | No | Optional filename for context |