# arp_oauth_authorize

`station__arp-oauth__arp_oauth_authorize` · external (needs EXECUTION_BACKEND_URL configured) · domain `arp-oauth` · pv-relevance `non-pv`

Request an authorization code for (client_id, agent_handle, scope). Returns a short-lived code exchangeable for a JWT via arp_oauth_token.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `client_id` *string* (required)
- `agent_handle` *string* (required)
- `scope` *array*

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__arp-oauth__arp_oauth_authorize",
    "arguments": {
      "client_id": "",
      "agent_handle": ""
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/arp-oauth__arp_oauth_authorize](/tools/arp-oauth__arp_oauth_authorize) — HTML page
- [/tools/arp-oauth__arp_oauth_authorize/json](/tools/arp-oauth__arp_oauth_authorize/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
