mirror of
https://github.com/open-webui/docs.git
synced 2025-12-12 07:29:49 +07:00
docs: fix inadequate tool server connections json
This commit is contained in:
@@ -737,7 +737,26 @@ The format for the JSON response is strictly:
|
|||||||
- Type: `str` (JSON array)
|
- Type: `str` (JSON array)
|
||||||
- Default: `[]`
|
- 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.
|
- 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.
|
- Persistence: This environment variable is a `PersistentConfig` variable.
|
||||||
|
|
||||||
### Autocomplete
|
### Autocomplete
|
||||||
|
|||||||
Reference in New Issue
Block a user