yaaif_api_key_create
Create a scoped API key for MCP/downstream platform access. Returns plaintext once; bind it via deployment or skill field map, using least-privilege scopes.
Instructions
Create a scoped API key for MCP/downstream platform access. Plaintext is returned once — bind via yaaif_api_key_bind_deployment or skill field_map; do not inject platform S2S into MCP pods. Prefer least-privilege scopes (e.g. context_store:read/write).
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": {
"name": "<name>",
"scopes": "<scopes>"
},
"name": "yaaif_api_key_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scopes | Yes | ||
| allowlists | No |