Skip to content

Commit 62b263d

Browse files
authored
docs(Eino):Uniform context variable naming (#1312)
1 parent bcfda3d commit 62b263d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/en/docs/eino/ecosystem/tool/tool_mcp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Then use the Client to create the adapter , which implements Eino Tool:
5555
```go
5656
import "github.com/cloudwego/eino-ext/components/tool/mcp"
5757

58-
tools, err := mcp.GetTools(ctx, &mcp.Config{Cli: cli})
58+
mcpTools, err := mcp.GetTools(ctx, &mcp.Config{Cli: cli})
5959
```
6060

6161
You can call this adapter directly:

content/zh/docs/eino/ecosystem_integration/tool/tool_mcp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ _, err = cli.Initialize(ctx, initRequest)
5757
```go
5858
import "github.com/cloudwego/eino-ext/components/tool/mcp"
5959

60-
tools, err := mcp.GetTools(ctx, &mcp.Config{Cli: cli})
60+
mcpTools, err := mcp.GetTools(ctx, &mcp.Config{Cli: cli})
6161
```
6262

6363
tool 可以直接调用:

0 commit comments

Comments
 (0)