Title: Tool call error · Issue #558 · sourcebot-dev/sourcebot · GitHub
Open Graph Title: Tool call error · Issue #558 · sourcebot-dev/sourcebot
X Title: Tool call error · Issue #558 · sourcebot-dev/sourcebot
Description: Describe the bug I have a local ollama+sourcebot setup, as well as continue.dev extension on vscode. The MCP server lists the tools correctly, but when using any agent, tool calls fail with: sourcebot_via_npx_search_code failed with the ...
Open Graph Description: Describe the bug I have a local ollama+sourcebot setup, as well as continue.dev extension on vscode. The MCP server lists the tools correctly, but when using any agent, tool calls fail with: source...
X Description: Describe the bug I have a local ollama+sourcebot setup, as well as continue.dev extension on vscode. The MCP server lists the tools correctly, but when using any agent, tool calls fail with: source...
Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/558
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tool call error","articleBody":"### Describe the bug\n\nI have a local ollama+sourcebot setup, as well as continue.dev extension on vscode. The MCP server lists the tools correctly, but when using any agent, tool calls fail with:\n\n```\nsourcebot_via_npx_search_code failed with the message: [{\"type\":\"text\",\"text\":\"[\\n {\\n \\\"code\\\": \\\"invalid_type\\\",\\n \\\"expected\\\": \\\"object\\\",\\n \\\"received\\\": \\\"undefined\\\",\\n \\\"path\\\": [\\n \\\"zoektStats\\\"\\n ],\\n \\\"message\\\": \\\"Required\\\"\\n }\\n]\"}]\n```\n\nAt first I thought it might be a problem with the continue.dev extension, so I grabbed `mcptools` to test it with `call search_code --params '{\"query\":\"test\"}'` and, alas, there it was again:\n\n```\n[\n {\n \"code\": \"invalid_type\",\n \"expected\": \"object\",\n \"received\": \"undefined\",\n \"path\": [\n \"zoektStats\"\n ],\n \"message\": \"Required\"\n }\n]\n```\n\n### To reproduce\n\nSet up docker image using `ghcr.io/sourcebot-dev/sourcebot:main` and a config JSON with:\n```\n{\n \"$schema\": \"https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json\",\n \"connections\": {\n \"local-repos\": {\n \"type\": \"git\",\n \"url\": \"file:///repos/*\"\n }\n }\n}\n```\n\nThere's a single git repo in there, which is indexed properly. Sourcebot web server search and file explorer works perfectly fine. \"Ask Sourcebot\" also works fine.\n\n### Sourcebot deployment information\n\nSourcebot version (e.g. v3.0.1): latest main (`ghcr.io/sourcebot-dev/sourcebot:main`)","author":{"url":"https://github.com/tekinozbek","@type":"Person","name":"tekinozbek"},"datePublished":"2025-10-11T04:40:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/558/sourcebot/issues/558"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c4355f56-b089-b680-4b1e-5e41052b3c2a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B364:397AD8:D749C6:1220AFC:6A4EFE04 |
| html-safe-nonce | 660ca9f048cee1eb1e227883353c7647248a159637e471e4aab6b4436097e543 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzY0OjM5N0FEODpENzQ5QzY6MTIyMEFGQzo2QTRFRkUwNCIsInZpc2l0b3JfaWQiOiI5MDgwNDg1ODQ1NzM2NDgzODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e0fa10f0164606c2c79a3a19d71ef0052a227c05f1c1836070987e8bba36668b |
| hovercard-subject-tag | issue:3505171575 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sourcebot-dev/sourcebot/558/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd56cc5eaf1a19ef838cb85f338b1416c7ab0b025aa9c1113750b07e730309ec/sourcebot-dev/sourcebot/issues/558 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd56cc5eaf1a19ef838cb85f338b1416c7ab0b025aa9c1113750b07e730309ec/sourcebot-dev/sourcebot/issues/558 |
| og:image:alt | Describe the bug I have a local ollama+sourcebot setup, as well as continue.dev extension on vscode. The MCP server lists the tools correctly, but when using any agent, tool calls fail with: source... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tekinozbek |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git |
| octolytics-dimension-user_id | 135396723 |
| octolytics-dimension-user_login | sourcebot-dev |
| octolytics-dimension-repository_id | 846729675 |
| octolytics-dimension-repository_nwo | sourcebot-dev/sourcebot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 846729675 |
| octolytics-dimension-repository_network_root_nwo | sourcebot-dev/sourcebot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width