[draft] Auth: OAuth2.0/OAuth2.0 Get Resource
draft_auth_oauth2_0_oauth2_0_get_resourceFetch an authenticated user's resource using an OAuth2 bearer token in the Authorization header; requests without this header return 401 Unauthorized.
Instructions
Once the bearer token has been obtained, it can be passed as Authorization header to access user's resources.
Authorization: Bearer vp7jx...
If the Authorization header is not passed the endpoint returns 401 Unauthorized.
(Postman request: [draft] Auth: OAuth2.0/OAuth2.0 Get Resource | GET https://postman-echo.com/oauth2/user/info)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "draft_auth_oauth2_0_oauth2_0_get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||