Skip to content

Commit 699d584

Browse files
authored
Merge pull request #8456 from microsoft/api-fix-docs-links
Fix links in API docs
2 parents 5eb44a9 + 753475f commit 699d584

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

api/extension-guides/tools.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MetaDescription: A guide to creating a language model tool and how to implement
99

1010
# Language Model Tool API
1111

12-
Language model tools enable you to extend the functionality of a large language model (LLM). VS Code surfaces tools contributed by extensions in Copilot [agent mode](/docs/copilot/chat/chat-agent-mode.md). By contributing a tool in a VS Code extension, you can combine the power of agentic coding with deep VS Code integration via its extension APIs.
12+
Language model tools enable you to extend the functionality of a large language model (LLM). VS Code surfaces tools contributed by extensions in Copilot [agent mode](/docs/copilot/chat/chat-agent-mode). By contributing a tool in a VS Code extension, you can combine the power of agentic coding with deep VS Code integration via its extension APIs.
1313

1414
In this extension guide, you'll learn how to create a language model tool and how to implement tool calling in a chat extension.
1515

@@ -27,7 +27,7 @@ By implementing a language model tool in your extension, you can:
2727

2828
- **Extend agent mode** with specialized tools that are automatically invoked as part of responding to a user prompt. For example, enable database scaffolding and querying as part of a chat conversation.
2929
- **Extend ask and edit mode** with specialized tools that users can reference directly in a chat prompt with `#`. For example, to fetch content from the web.
30-
- **Deeply integrate with VS Code** by using the broad set of extension APIs. For example, use the [debug APIs](/api/extension-guides/debugger-extension.md) to augment a user's debugging experience.
30+
- **Deeply integrate with VS Code** by using the broad set of extension APIs. For example, use the [debug APIs](/api/extension-guides/debugger-extension) to augment a user's debugging experience.
3131

3232
## Create a language model tool
3333

@@ -51,13 +51,13 @@ The static configuration of the tool is defined in the `package.json` file of yo
5151
| `name` | The unique name of the tool, used to reference the tool in the extension implementation code. Format the name in the format `{verb}_{noun}`. See [naming guidelines](#guidelines). |
5252
| `displayName` | The user-friendly name of the tool, used for displaying in the UI. |
5353

54-
1. If the tool can be used in [agent mode](/docs/copilot/chat/chat-agent-mode.md) or referenced in a chat prompt with `#`, add the following properties:
54+
1. If the tool can be used in [agent mode](/docs/copilot/chat/chat-agent-mode) or referenced in a chat prompt with `#`, add the following properties:
5555

5656
Users can enable or disable the tool in the Chat view, similar to how this is done for [Model Context Protocol (MCP) tools](/docs/copilot/chat/mcp-servers).
5757

5858
| Property | Description |
5959
| -------- | ----------- |
60-
| `canBeReferencedInPrompt` | Set to `true` if the tool can be used in [agent mode](/docs/copilot/chat/chat-agent-mode.md) or referenced in chat. |
60+
| `canBeReferencedInPrompt` | Set to `true` if the tool can be used in [agent mode](/docs/copilot/chat/chat-agent-mode) or referenced in chat. |
6161
| `toolReferenceName` | The name for users to reference the tool in a chat prompt via `#`. |
6262
| `icon` | The icon to display for the tool in the UI. |
6363
| `userDescription` | User-friendly description of the tool, used for displaying in the UI. |
@@ -267,6 +267,6 @@ Get more best practices for creating tools in the [OpenAI documentation](https:/
267267

268268
## Related content
269269

270-
- [Language Model API reference](/api/references/vscode-api.md#lm)
271-
- [Register an MCP server in a VS Code extension](/api/extension-guides/mcp.md)
272-
- [Use MCP tools in agent mode](/docs/copilot/chat/mcp-servers.md)
270+
- [Language Model API reference](/api/references/vscode-api#_lm)
271+
- [Register an MCP server in a VS Code extension](/api/extension-guides/mcp)
272+
- [Use MCP tools in agent mode](/docs/copilot/chat/mcp-servers)

0 commit comments

Comments
 (0)