-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3144 from continuedev/nate/tools-docs
Nate/tools docs
- Loading branch information
Showing
5 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Tools | ||
description: Tool use and customization | ||
keywords: [tool, use, function calling, claude, automatic] | ||
--- | ||
|
||
Tools allow Continue to take action in your IDE and beyond (when you give permission). Currently, they are only supported with [Anthropic](./model-providers/top-level/anthropic.md). To use tools, click on the icon in the input toolbar like below. | ||
|
||
![tools](/img/tool-use-example.png) | ||
|
||
To let you balance speed and safety, each tool can be set to 1 of 3 modes: | ||
|
||
- `Automatic`: When the LLM requests to use the tool, Continue will automatically call it and send the response to the LLM. | ||
- `Allowed`: When the LLM requests to use the tool, Continue will first give you the opportunity to "Cancel" or "Continue" with the tool. | ||
- `Disabled`: The LLM will not know about or be able to use the tool. | ||
|
||
### Custom tools | ||
|
||
Currently custom tools can be configured using the [Model Context Protocol](https://modelcontextprotocol.io/introduction), a standard proposed by Anthropic to unify prompts, context, and tool use. Read their [quickstart](https://modelcontextprotocol.io/quickstart) to learn how to set up a local server and then configure your `config.json` like this: | ||
|
||
```json title="~/.continue/config.json" | ||
{ | ||
"experimental": { | ||
"modelContextProtocolServer": { | ||
"transport": { | ||
"type": "stdio", | ||
"command": "uvx", | ||
"args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"] | ||
} | ||
} | ||
} | ||
} | ||
``` |
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.