output-parsers
Installation
SKILL.md
Output Parsers for mcptools
Generate output parsers for Python tools in the mcptools package that have unstructured return types.
Identifying Unstructured Return Types
A tool has an unstructured return type when its run() function returns:
- A
strdirectly - A
Resultmodel with a singlestrfield (namedresult,content,output, etc.) plus onlymodel_config
A Result model with multiple fields (beyond model_config) has a structured return type and does not need a parser.
Workflow
1. Test the Python tool
Run the Python tool with ipybox_execute_ipython_cell tool using 2-3 example inputs to observe return value patterns: