Documentation
¶
Overview ¶
Package tsrender produces TypeScript declarations for agent capabilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Type ¶
func Type(raw json.RawMessage) (string, error)
Type renders raw JSON Schema, including externally supplied MCP schemas. Validation-only constraints (such as minimum and pattern) do not affect the TypeScript shape. References must be local and acyclic. Malformed type-bearing keywords and unsupported references return errors, never replacement schemas. An absent output schema is unknown, as is the unrestricted schema {}.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.