Documentation
¶
Overview ¶
Package toolschema turns a use case of the op catalog into the JSON Schema of a model tool. The MCP server and the in-app assistant share it, so both describe every tool the same way (ADR 0018).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorText ¶
ErrorText is what a model is told when a tool fails: the error, plus a hint that helps it recover instead of repeating the call.
func HasField ¶
HasField reports whether the input of b has a JSON field called name (looking into embedded structs).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.