Skip to content

Conversation

@mcowger
Copy link
Contributor

@mcowger mcowger commented Nov 20, 2025

Context

The JSON tool definitions didn't match XML in most cases, and often lacked additional injected contextual information (especially cwd). This PR updates these definitions to match XML, and provide that cwd context where relevant.

Implementation

  • Adjust definitions for relevant tools to be functions rather than hardcoded objects, so they can accept and use the cwd.
  • Adjust tool descriptions to match XML definitions. In many cases this expands the description field notably.
  • Adjust incorrect removal of codebase_search if managed indexing wasn't available.

Screenshots

NA

Get in Touch

mcowger

@changeset-bot
Copy link

changeset-bot bot commented Nov 20, 2025

🦋 Changeset detected

Latest commit: f984b6e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
kilo-code Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mcowger mcowger marked this pull request as ready for review November 20, 2025 19:12
@nkukard
Copy link

nkukard commented Nov 20, 2025

Confirmed fixes it for me too

@SilentFlower
Copy link

Does this PR fix the JSON call issue for the codebase_search tool?

@mcowger
Copy link
Contributor Author

mcowger commented Nov 21, 2025

Does this PR fix the JSON call issue for the codebase_search tool?

Yes, among other things.

@chrarnoldus chrarnoldus linked an issue Nov 22, 2025 that may be closed by this pull request
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.

Can't use codebase search tool

3 participants