OpenCode doesn't properly handle Pydantic input types for MCP tools #4243

Closed
opened 2026-02-16 17:43:09 -05:00 by yindo · 1 comment
Owner

Originally created by @michael-schienbein-fhr on GitHub (Jan 5, 2026).

$(cat <<'EOF'

Originally created by @michael-schienbein-fhr on GitHub (Jan 5, 2026). $(cat <<'EOF'
yindo closed this issue 2026-02-16 17:43:09 -05:00
Author
Owner

@davidbernat commented on GitHub (Jan 7, 2026):

Can you elaborate on this non-ticket ticket? I personally have been interested to learn more about how to use PydanticAI to make or coerce output requirements for agents within the OpenCode chat flow, to better assist myself in building future MCPs.

@davidbernat commented on GitHub (Jan 7, 2026): Can you elaborate on this non-ticket ticket? I personally have been interested to learn more about how to use PydanticAI to make or coerce output requirements for agents within the OpenCode chat flow, to better assist myself in building future MCPs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4243