session_consent
Grant consent for data access scopes to resolve ConsentRequired errors. After user approves in browser, retry the original operation.
Instructions
Grant consent for endpoint-specific data access.
When operations like ls(), transfer(), or stat() fail with a ConsentRequired error, call this tool with the required scopes to open the user's browser and grant access. After the user completes consent, retry the original operation.
Args: scopes: One or more scope URN strings (space-separated) from the ConsentRequired error response.
Returns: Status message indicating whether consent was completed.
Examples: session_consent("urn:globus:auth:scope:transfer.api.globus.org:all[*https://auth.globus.org/scopes//data_access]")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |