Files
Sam Morrow c94b89ac1e
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
feat: add structured output schemas to read-only tools
Add TypedRegisterFunc to ServerTool that uses mcp.AddTool[In, Out]()
for typed tool registration. The SDK auto-generates OutputSchema from
the Go Out type and populates StructuredContent on tool results,
while preserving existing TextContent for backwards compatibility.

Tools updated with typed structured output:
- get_me (MinimalUser)
- list_issues (MinimalIssuesResponse)
- list_pull_requests (ListPullRequestsResult)
- search_issues (IssueSearchResult)
- search_pull_requests (PullRequestSearchResult)
- search_code (CodeSearchResult)

Tools like issue_read and pull_request_read keep Out=any since they
are multi-method tools returning different shapes per method.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-24 20:07:39 +02:00
..
2026-02-12 11:04:54 +01:00
2026-02-19 15:17:52 +00:00
2026-02-12 11:04:54 +01:00
2026-02-12 11:04:54 +01:00
2026-01-06 17:38:12 +00:00
2026-02-12 11:04:54 +01:00
2026-02-12 11:04:54 +01:00
2026-02-25 13:42:24 +00:00
2026-02-12 11:04:54 +01:00
2026-02-12 11:04:54 +01:00
2026-02-12 11:04:54 +01:00
2026-02-12 11:04:54 +01:00