# Microgram: arp-oauth-arp-oauth-token

`station__algovigilance__microgram-arp-oauth-arp-oauth-token` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Exchange an authorization code + client_secret for a JWT access token. Token TTL 1 hour, no refresh — re-authorize to extend.

## Agent metadata

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

## Input schema

- `code` *string* (required) — Input parameter code.
- `client_id` *string* (required) — Input parameter client_id.
- `client_secret` *string* (required) — Input parameter client_secret.

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-arp-oauth-arp-oauth-token",
    "arguments": {
      "code": "",
      "client_id": "",
      "client_secret": ""
    }
  }
}
```

## Related

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