Request authority approval
stack_request_authorityCreate a pending request for an owner or admin to approve one exact job for an agent. Returns the request id and a human approval URL; it grants no access by itself. The approver reviews the terms and verifies through the OpenID Connect provider configured under Security and sign-in.
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": {
"organisation_name": "<organisation_name>",
"role_name": "<role_name>",
"role_claim_path": "<role_claim_path>",
"role_claim_value": "<role_claim_value>",
"agent_id": "<agent_id>",
"service_connection_id": "<service_connection_id>",
"provider": "<provider>",
"purpose": "<purpose>",
"http_method": "<http_method>",
"resource_path": "<resource_path>",
"expires_at": "<expires_at>",
"idempotency_key": "<idempotency_key>"
},
"name": "stack_request_authority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | Yes | Plain-language reason this access is needed. | |
| agent_id | Yes | ||
| provider | Yes | Connected system, such as stripe. | |
| role_name | Yes | Human-readable role required to approve the request. | |
| expires_at | Yes | ISO timestamp within the next 60 minutes. | |
| mission_id | No | ||
| constraints | No | ||
| http_method | Yes | ||
| resource_path | Yes | ||
| idempotency_key | Yes | Stable key for this exact request. A repeated call with the same key returns the same request. | |
| role_claim_path | Yes | OIDC claim path that records the approver role, such as roles. | |
| role_claim_value | Yes | Required value in the configured OIDC role claim. | |
| organisation_name | Yes | Organisation the agent will act for. | |
| service_connection_id | Yes |