SDK reference / Models / AgentService
AiAgentApproval
Kind: class
Namespace: Egulu.Sdk.Models.AgentService
A tool call a run is waiting on: the plan a person accepts or refuses (ADR-0902, ADR-0906). It is bound to the digest of its arguments: what wasaccepted is exactly what runs. The tool's name, arguments and the reason are the platform's record, not the model's words about itself.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Arguments | string? | arguments | The arguments of the call (redacted, capped at 4 KiB); what runs once approved. |
ArgumentsSha256 | string? | argumentsSha256 | The SHA-256 of `arguments`: send it back with `:accept` to say you saw exactly this. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DecideTime | DateTimeOffset? | decideTime | The decideTime property |
DecidedBy | string? | decidedBy | The decidedBy property |
ExpireTime | DateTimeOffset? | expireTime | The expireTime property |
Name | string? | name | projects/{project}/locations/{location}/aiAgents/{agent}/runs/{run}/approvals/{step}. |
Note | string? | note | The note property |
Reason | string? | reason | Why a person is needed: the risk class, the Rule of Two, or the agent's own setting. |
Risk | string? | risk | `R0` to `R3`. |
Run | string? | run | The run. |
Sponsor | string? | sponsor | The agent's sponsor, who may decide it; so may a holder of `agents.approvals.decide`. |
State | Models.AgentService.AiAgentApprovalState? | state | The state of an approval. |
Step | int? | step | The step of the tool call. |
Tool | string? | tool | The tool property |