Skip to content

Tool schema: generate JSON schema from type hints and defaults #7

@lydakis

Description

@lydakis

Enhance ToolSpec.as_schema() to reflect Python annotations (str/int/float/bool), Optional/Union, defaults for required vs optional, and nested dataclasses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolsAlloy label: toolstype-systemAlloy label: type-system

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions