Skip to content

Epic 2: Typed Tool Definitions (M27) #475

@bug-ops

Description

@bug-ops

Problem

execute_tool_call() manually extracts params from HashMap<String, Value> with no type safety. Param structs derive JsonSchema but not Deserialize — they are dead-code schema-only markers.

Solution

Make param structs derive Deserialize, deserialize ToolCall.params into typed structs via serde_json::from_value.

Issues

Verification

Verify tool params deserialize without manual extraction.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    M27Milestone 27: Structured Output + Typed ToolsepicMilestone-level tracking issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions