Skip to content

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

Open

Description

@lydakis

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

Activity

  1. added this to the v0.2 milestone on Aug 13, 2025
  2. added
    type-system
    tools
    on Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolstype-system

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions