{
  "name": "StackOne",
  "description": "StackOne A2A agent. Gives agents access to actions across the StackOne integration catalog. Authenticate with a StackOne API key and account ID to discover account-specific capabilities via the `agent/authenticatedExtendedCard` endpoint.",
  "version": "0.1.0",
  "protocolVersion": "0.3.4",
  "url": "https://a2a.stackone.com",
  "preferredTransport": "JSONRPC",
  "supportedInterfaces": [
    {
      "url": "https://a2a.stackone.com",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "0.3"
    }
  ],
  "provider": {
    "organization": "StackOne",
    "url": "https://www.stackone.com"
  },
  "documentationUrl": "https://docs.stackone.com/embed/call-actions/agent2agent",
  "iconUrl": "https://stackone-logos.com/api/stackone/filled/png",
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "stateTransitionHistory": true
  },
  "defaultInputModes": ["text/plain"],
  "defaultOutputModes": ["text/plain"],
  "skills": [
    {
      "id": "stackone",
      "name": "StackOne",
      "description": "Execute actions across the StackOne integration catalog. Authenticated callers receive the per-account extended card listing all available connector skills, plus the `tool_search` and `tool_execute` meta-tools.",
      "tags": ["stackone"],
      "inputModes": ["text/plain"],
      "outputModes": ["text/plain"]
    }
  ],
  "securitySchemes": {
    "stackoneApiKey": {
      "type": "http",
      "scheme": "basic",
      "description": "StackOne API key sent as HTTP Basic auth with the key as the username (`<api_key>:` base64-encoded)."
    },
    "stackoneAccountId": {
      "type": "apiKey",
      "in": "header",
      "name": "x-account-id",
      "description": "StackOne account ID to scope this request to."
    },
    "stackoneOAuth": {
      "type": "oauth2",
      "description": "Authorize the assistant to act on your behalf using your StackOne account, via StackOne sign-in and consent.",
      "oauth2MetadataUrl": "https://idp-api.stackone.com/.well-known/oauth-authorization-server",
      "flows": {
        "authorizationCode": {
          "authorizationUrl": "https://idp-api.stackone.com/api/auth/oauth2/authorize",
          "tokenUrl": "https://idp-api.stackone.com/api/auth/oauth2/token",
          "scopes": {
            "mcp": "Access StackOne tools via the A2A agent.",
            "offline_access": "Obtain refresh tokens for continued access."
          }
        }
      }
    }
  },
  "security": [{ "stackoneApiKey": [], "stackoneAccountId": [] }, { "stackoneOAuth": ["mcp", "offline_access"] }],
  "supportsAuthenticatedExtendedCard": true
}
