docs: rename Code Execution extension to Code Mode extension (#7316)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
+6
-4
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Code Execution Extension
|
||||
title: Code Mode Extension
|
||||
description: Execute JavaScript code to interact with multiple MCP tools
|
||||
---
|
||||
|
||||
@@ -8,9 +8,11 @@ import TabItem from '@theme/TabItem';
|
||||
import { PlatformExtensionNote } from '@site/src/components/PlatformExtensionNote';
|
||||
import GooseBuiltinInstaller from '@site/src/components/GooseBuiltinInstaller';
|
||||
|
||||
The Code Execution extension enables [Code Mode](/docs/guides/managing-tools/code-mode), a programmatic approach for interacting with MCP tools.
|
||||
The Code Mode extension enables [Code Mode](/docs/guides/managing-tools/code-mode), a programmatic approach for interacting with MCP tools.
|
||||
|
||||
In Code Mode, the LLM discovers which tools are available from your enabled extensions and writes JavaScript code that goose runs in one execution instead of calling tools directly and one at a time. This helps manage context window usage more efficiently when multiple extensions are enabled and when performing workflows with multiple tool calls.
|
||||
The Code Mode extension is an MCP server that exposes three meta-tools. When Code Mode is enabled, the LLM writes JavaScript code that goose executes using a Deno-based runtime called [Port of Context](https://github.com/AdrianCole/pctx) to discover tools, learn their interfaces, and call them programmatically.
|
||||
|
||||
This helps manage context window usage more efficiently when multiple extensions are enabled and when performing workflows with multiple tool calls.
|
||||
|
||||
## Configuration
|
||||
|
||||
@@ -19,7 +21,7 @@ In Code Mode, the LLM discovers which tools are available from your enabled exte
|
||||
<Tabs groupId="interface">
|
||||
<TabItem value="ui" label="goose Desktop" default>
|
||||
<GooseBuiltinInstaller
|
||||
extensionName="Code Execution"
|
||||
extensionName="Code Mode"
|
||||
description="Execute JavaScript code to interact with MCP tools efficiently"
|
||||
/>
|
||||
</TabItem>
|
||||
Reference in New Issue
Block a user