When enabled (or when Global Wiki is on), the gateway may run a multi-step tool loop on the same
/v1/chat/completions (or deprecated /api/chat) request. Clients still receive a normal final message.
Turns on ACA/MCP tools for this app. Global Wiki can still work independently.
Fail the loop if a shell/python tool returns a non-zero exit code.
Escalate instead of returning a partial answer when the iteration cap is hit.
Execution tools
Code runners for shell/python/node.
Use self-hosted-sandbox with http://sandbox-runtime:8080 in Docker,
or aca-session with an Azure Dynamic Sessions pool URL.
(Different from MCP runtime.)
Integration tools (MCP)
Model Context Protocol servers this tenant may call. Supports
http (remote URL) and stdio (local process, Cursor-style).
Example MCP JSON (stdio + http)
{
"type": "mcp",
"name": "example-stdio",
"transport": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"],
"env": { "API_BASE_URL": "https://example.com" },
"credentialRef": "example-stdio",
"enabled": true,
"timeoutSeconds": 300
}