Skip to content

Commit a4a6a93

Browse files
author
Ovtcharov
committed
docs(mcp): sync the second registry-format example in the client spec
The _TOOL_REGISTRY example block still listed _mcp_tool_name, which to_gaia_format has not emitted for some time, and omitted the new requires_confirmation key. Two blocks in the same file described the same structure differently.
1 parent eb21f07 commit a4a6a93

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/spec/mcp-client.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ MCP tools are converted from JSON Schema format to GAIA's tool registry format:
11891189
# GAIA tool format (in _TOOL_REGISTRY)
11901190
{
11911191
"name": "mcp_filesystem_read_file",
1192+
"display_name": "read_file (filesystem)",
11921193
"description": "[MCP:filesystem] Read file contents",
11931194
"parameters": {
11941195
"path": {
@@ -1204,8 +1205,8 @@ MCP tools are converted from JSON Schema format to GAIA's tool registry format:
12041205
},
12051206
"function": <wrapper_callable>,
12061207
"atomic": True,
1207-
"_mcp_server": "filesystem",
1208-
"_mcp_tool_name": "read_file"
1208+
"requires_confirmation": True,
1209+
"_mcp_server": "filesystem"
12091210
}
12101211
```
12111212

0 commit comments

Comments
 (0)