create_subject
Create a subject (user, service, agent) for authorization. Optionally set external_id to use your own identifier in evaluation calls.
Instructions
Create a subject — any principal that can be authorized (user, service, AI agent, device). Set external_id to your system's own user/service identifier so evaluation calls can reference it without a Vengtoo UUID lookup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name, e.g. "Alice" or "payment-service" | |
| type | Yes | Subject type, e.g. "user", "service", "agent". Use consistent values across your tenant. | |
| external_id | No | Your system's own identifier for this subject (recommended). Used in evaluation calls as subject.external_id. |