{ "name": "RetrieveSubscription", "fully_qualified_name": "SquareupApi.RetrieveSubscription@0.1.0", "description": "Retrieve details of a specific subscription.\n\nThis tool retrieves information about a specific subscription using its ID. It is called when detailed subscription data is needed, such as for review or management purposes.", "toolkit": { "name": "ArcadeSquareupApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "subscription_id", "required": true, "description": "The ID of the subscription to retrieve.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the subscription to retrieve." }, "inferrable": true, "http_endpoint_parameter_name": "subscription_id" }, { "name": "include_related_info", "required": false, "description": "Specify related info to include in the response, such as 'actions' for scheduled actions.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A query parameter to specify related information to be included in the response. \n\nThe supported query parameter values are: \n\n- `actions`: to include scheduled actions on the targeted subscription." }, "inferrable": true, "http_endpoint_parameter_name": "include" } ] }, "output": { "description": "Response from the API endpoint 'RetrieveSubscription'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-squareup", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "SUBSCRIPTIONS_READ" ] } }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.0.0", "description": "Tools that enable LLMs to interact directly with the squareup API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.0.0", "description": "" }, "url": "https://connect.squareup.com/v2/subscriptions/{subscription_id}", "http_method": "GET", "headers": {}, "parameters": [ { "name": "include", "tool_parameter_name": "include_related_info", "description": "A query parameter to specify related information to be included in the response. \n\nThe supported query parameter values are: \n\n- `actions`: to include scheduled actions on the targeted subscription.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A query parameter to specify related information to be included in the response. \n\nThe supported query parameter values are: \n\n- `actions`: to include scheduled actions on the targeted subscription." }, "accepted_as": "query", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "subscription_id", "tool_parameter_name": "subscription_id", "description": "The ID of the subscription to retrieve.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the subscription to retrieve." }, "accepted_as": "path", "required": true, "deprecated": false, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ] } }