pangea_enable_ai
Enable Shared AI for an HTTP project by injecting LLM and speech router environment variables into the app runtime without external API keys, with optional live rollout or token rotation.
Instructions
Enable Shared AI (LLM & Speech Router) for an HTTP project. Injects PANGEA_LLM_BASE_URL, PANGEA_LLM_API_KEY, PANGEA_LLM_MODEL (default 'gemma'; 'qwen' also selectable), PANGEA_SPEECH_BASE_URL, PANGEA_SPEECH_API_KEY, and PANGEA_AI_CA_PEM into the app runtime (and applies NetworkPolicy/pangea-ai) without external API keys. For Speech TTS, POST ${PANGEA_SPEECH_BASE_URL}/v1/jobs with Idempotency-Key and {kind:'tts', model:'qwen3-tts-custom-voice', input:{text, language, speaker}}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "pangea_enable_ai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Immediately roll out changes on a live deployed app (default: true) | |
| rotate | No | Rotate the project's Shared AI bearer token | |
| project_id | Yes | Project ID (prj_...) |