Skip to content

Mark get_code_context_exa as deprecated in its tool description - #445

Open
vishalhabib99 wants to merge 1 commit into
exa-labs:mainfrom
vishalhabib99:mark-code-context-deprecated
Open

vishalhabib99 wants to merge 1 commit into
exa-labs:mainfrom
vishalhabib99:mark-code-context-deprecated

Conversation

@vishalhabib99

Copy link
Copy Markdown

Refs #443.

A correction to my own issue first: #443 suggested adding get_code_context_exa to the README. On a closer look, it's intentionally deprecated. toolRegistry.ts lists it as "Code Context Search (Deprecated)" with "Use web_search_exa instead", and #384 removed deprecated tools from the README on purpose. So the README is right.

The actual gap is smaller. Every other deprecated tool says so in the description clients receive ([Deprecated: Use web_search_advanced_exa instead] ...), but this one doesn't. An agent that has it enabled gets no signal to prefer web_search_exa.

This PR adds the same prefix, using the replacement named in the registry:

-    `Find code examples, documentation, and programming solutions.
+    `[Deprecated: Use web_search_exa instead] Find code examples, documentation, and programming solutions.

It's a description-only change with no behavior change. Happy to close #443 once this lands, or adjust the wording if you'd rather point somewhere else.

🤖 Generated with Claude Code

The registry already lists it as "Code Context Search (Deprecated)" with
"Use web_search_exa instead", and every other deprecated tool says so in
the description clients see. This one didn't, so agents that enable it
had no signal to prefer web_search_exa.

Refs exa-labs#443

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vishalhabib99

Copy link
Copy Markdown
Author

Hi, friendly ping on this one. It's a one-line description change: get_code_context_exa is deprecated in the registry, but unlike the other deprecated tools its description doesn't say so, so an agent that has it enabled gets no signal to use web_search_exa instead. CI is green and it's mergeable. Happy to adjust the wording if you'd prefer different phrasing.

@vishalhabib99

Copy link
Copy Markdown
Author

Hi, one more check-in on this. It still merges cleanly on main: a one-line description prefix so get_code_context_exa says it's deprecated, like the other deprecated tools do. Happy to close it if you'd rather handle it differently.

This branch has not been deployed

No deployments
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.

get_code_context_exa isn't mentioned anywhere in the README

1 participant