openai_create_service_account
Create a service account in a project, automatically adding a member role and generating an API key. The plaintext API key appears only once, so save it immediately.
Instructions
Create a new service account in a project.
By default this also creates a `member`-role project membership and an
API key for the account. IMPORTANT: the response contains the API key's
PLAINTEXT value — this is the only time it is ever shown. Surface it to
the user immediately so they can store it; it cannot be retrieved again.
Args:
project_id: The project's ID (see openai_list_projects).
name: Name for the new service account.
create_service_account_only: If True, skip creating the default role/API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_id | Yes | ||
| create_service_account_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |