tsrender

package
v0.7.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL