Merge pull request #3144 from continuedev/nate/tools-docs
Nate/tools docs
This commit is contained in:
commit
fa860058fb
5 changed files with 40 additions and 0 deletions
5
.github/workflows/pr_checks.yaml
vendored
5
.github/workflows/pr_checks.yaml
vendored
|
|
@ -5,6 +5,11 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
paths:
|
||||
- "extensions/vscode/**"
|
||||
- "core/**"
|
||||
- "gui/**"
|
||||
|
||||
jobs:
|
||||
tsc-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ There are a number of different ways to customize Chat
|
|||
- You can create your own [custom code RAG](../customize/tutorials/custom-code-rag.md)
|
||||
- You can configure [`@Docs`](../customize/deep-dives/docs.md)
|
||||
- You can [build your own context provider](../customize/tutorials/build-your-own-context-provider.md)
|
||||
- You can configure and create custom [tools](../customize/tools.md)
|
||||
|
|
|
|||
33
docs/docs/customize/tools.md
Normal file
33
docs/docs/customize/tools.md
Normal file
|
|
@ -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.
|
||||
|
||||

|
||||
|
||||
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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -110,6 +110,7 @@ const sidebars = {
|
|||
},
|
||||
"customize/context-providers",
|
||||
"customize/slash-commands",
|
||||
"customize/tools",
|
||||
"customize/development-data",
|
||||
{
|
||||
type: "category",
|
||||
|
|
|
|||
BIN
docs/static/img/tool-use-example.png
vendored
Normal file
BIN
docs/static/img/tool-use-example.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
Loading…
Add table
Reference in a new issue