yapi_configure
Sets runtime connection settings for a YApi MCP session, overriding environment or file config when a user pastes a host, token, cookie, or timeout in chat.
Instructions
Set runtime connection settings for this MCP session (overrides env/file).
Prefer env vars or .yapi-mcp.json for durable config. Use this when the user
pastes host/token in chat. Never echo the raw token back.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "yapi_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | ||
| token | No | ||
| cookie | No | ||
| timeout | No | ||
| base_url | No | ||
| clear_secrets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |