arcade-mcp/toolkits/squareup_api/arcade_squareup_api/wrapper_tools/GetCustomerSegment.json
jottakka f2332a7682
[Moar][Rewrapping] Rewrapping tools (#653)
## Rewrapping

- Calendly
- Airtable
- Squareup
- PagerDuty
- Trello
- Miro

---------

Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-24 18:05:33 -03:00

109 lines
3 KiB
JSON

{
"name": "GetCustomerSegment",
"fully_qualified_name": "SquareupApi.GetCustomerSegment@2.0.0",
"description": "Retrieve specific customer segment information.\n\nUse this tool to get information about a specific customer segment using the segment ID.",
"toolkit": {
"name": "ArcadeSquareupApi",
"description": null,
"version": "2.0.0"
},
"input": {
"parameters": [
{
"name": "customer_segment_id",
"required": true,
"description": "The Square-issued ID of the customer segment to retrieve.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The Square-issued ID of the customer segment."
},
"inferrable": true,
"http_endpoint_parameter_name": "segment_id"
}
]
},
"output": {
"description": "Response from the API endpoint 'RetrieveCustomerSegment'.",
"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": [
"CUSTOMERS_READ"
]
}
},
"secrets": null,
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.1.0",
"description": "Tools that enable LLMs to interact directly with the squareup API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "https://connect.squareup.com/v2/customers/segments/{segment_id}",
"http_method": "GET",
"headers": {},
"parameters": [
{
"name": "segment_id",
"tool_parameter_name": "customer_segment_id",
"description": "The Square-issued ID of the customer segment.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The Square-issued ID of the customer segment."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"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
}
],
"request_body_spec": null,
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}