lookup_operator
Look up a PostScript operator's exact definition, including stack signature, category, required language level, and possible errors, to ensure correct usage.
Instructions
Return the exact PLRM definition of a PostScript operator.
Gives the stack signature (operands operator results), a summary, the LanguageLevel it requires, and the errors it can raise. Use this to get operand order and types right instead of guessing.
Example: lookup_operator("arc") → signature "x y r ang1 ang2 arc -", category "path", level 1.
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": "lookup_operator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |