docs: fix inadequate tool server connections json

This commit is contained in:
MathisRouget
2025-10-31 11:31:04 +01:00
parent 0e5f249391
commit 3f19a66f5c

View File

@@ -737,7 +737,26 @@ The format for the JSON response is strictly:
- Type: `str` (JSON array)
- Default: `[]`
- Description: Specifies a JSON array of tool server connection configurations. Each connection should define the necessary parameters to connect to external tool servers that implement the OpenAPI/MCPO protocol. The JSON must be properly formatted or it will fallback to an empty array.
- Example: `'[{"name": "example-server", "url": "https://api.example.com", "api_key": "your-key"}]'`
- Example:
```json
[
{
"type": "openapi",
"url": "example-url",
"spec_type": "url",
"spec": "",
"path": "openapi.json",
"auth_type": "none",
"key": "",
"config": { "enable": true },
"info": {
"id": "",
"name": "example-server",
"description": "MCP server description."
}
}
]
```
- Persistence: This environment variable is a `PersistentConfig` variable.
### Autocomplete