docs: add tool prompt override documentation#9315
Closed
continue[bot] wants to merge 3 commits intomainfrom
Closed
docs: add tool prompt override documentation#9315continue[bot] wants to merge 3 commits intomainfrom
continue[bot] wants to merge 3 commits intomainfrom
Conversation
Adds a `tools` array to config that allows users to override tool
descriptions at the repo level, following the existing pattern for
models, contextProviders, and slashCommands.
This enables teams to customize tool prompts (e.g., standardizing
path format instructions) without forking the codebase.
Example .continuerc.json:
```json
{
"tools": [
{
"name": "read_file",
"description": "Custom description here"
}
]
}
```
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fixes #9312, Fixes #9313 Two bugs were preventing workspace .continuerc.json files from working: 1. loadRcConfigs.ts: `rcFiles.map(ide.readFile)` lost `this` binding, causing silent failures when reading .continuerc.json files. Fixed by using `rcFiles.map((uri) => ide.readFile(uri))`. 2. doLoadConfig.ts: YAML config path never loaded workspace configs. Added conditional loading of workspace .continuerc.json files for tool overrides when using config.yaml. Debugging notes: - Added file-based tracing to /tmp/continue_debug.txt in installed extension to trace config loading path - Discovered JSON path was taken but getWorkspaceRcConfigs returned [] - Found listDir found the file but readFile failed silently - Wrapping readFile in try-catch revealed the this binding issue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Document the new tool override feature that allows customizing built-in tool prompts at the workspace level. This includes: - Overriding tool descriptions - Disabling specific tools - Customizing system message prompts - Overriding display titles and action phrases This feature is particularly useful for local models that struggle with default tool prompts. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev> Co-authored-by: nate <nate@continue.dev>
5 tasks
|
This pull request was automatically closed because its base branch ( If these changes are still needed, please create a new pull request targeting the default branch. |
Contributor
Author
|
This pull request was automatically closed because its base branch ( If these changes are still needed, please create a new pull request targeting the default branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation for the new tool prompt override feature introduced in #9314.
Note: This PR contains the same code changes as PR #9314 plus documentation updates. It is intended to provide documentation for that feature. If #9314 is merged first, this PR can be rebased to only include the documentation changes.
Changes
.continuerc.jsondocumentation indocs/customize/deep-dives/configuration.mdxWhy
The tool override feature is a significant new capability that allows users to customize built-in tool prompts at the workspace level, particularly useful for local models. This documentation ensures users can discover and effectively use this feature.
Related
This task was co-authored by nate and Continue.
Summary by cubic
Adds workspace-level tool prompt overrides via .continuerc.json and documents how to use them. You can customize built-in tool prompts (descriptions, titles, action phrases, system message) or disable tools.
New Features
Bug Fixes
Written for commit 39303e0. Summary will update automatically on new commits.
Continue Tasks
Powered by Continue