Skip to content

chore(mcp): handle MCP isError response#1236

Merged
burmudar merged 2 commits intomainfrom
wb/mcp-iserror
Dec 10, 2025
Merged

chore(mcp): handle MCP isError response#1236
burmudar merged 2 commits intomainfrom
wb/mcp-iserror

Conversation

@burmudar
Copy link
Contributor

Tool errors are sent as results with isError: true. We check if that field is true and extract the text.

Test plan

go run ./cmd/src deepsearch -question 'how does src-cli get released?'
MCP tool error: failed to create conversation: failed to check quota

@burmudar burmudar requested a review from a team December 10, 2025 10:25
@burmudar burmudar self-assigned this Dec 10, 2025
@burmudar burmudar merged commit 97c3004 into main Dec 10, 2025
8 checks passed
@burmudar burmudar deleted the wb/mcp-iserror branch December 10, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants