arcade-mcp/toolkits/squareup_api/arcade_squareup_api/wrapper_tools/AddGroupToCustomer.json
jottakka b89ba3372c
[MOAR][SquareUP] Adding square up toolkit (#596)
Adding square up toolkit

---------

Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-10 17:03:56 -03:00

137 lines
4 KiB
JSON

{
"name": "AddGroupToCustomer",
"fully_qualified_name": "SquareupApi.AddGroupToCustomer@0.1.0",
"description": "Add a customer to a specific group.\n\nUse this tool to assign a specified customer to a particular group by providing the customer's ID and the group's ID.",
"toolkit": {
"name": "ArcadeSquareupApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "customer_id",
"required": true,
"description": "The unique identifier for the customer to be added to a group. It must match an existing customer ID.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the customer to add to a group."
},
"inferrable": true,
"http_endpoint_parameter_name": "customer_id"
},
{
"name": "customer_group_id",
"required": true,
"description": "The ID of the customer group to which the customer will be added. This should be a valid group ID.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the customer group to add the customer to."
},
"inferrable": true,
"http_endpoint_parameter_name": "group_id"
}
]
},
"output": {
"description": "Response from the API endpoint 'AddGroupToCustomer'.",
"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_WRITE"
]
}
},
"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/customers/{customer_id}/groups/{group_id}",
"http_method": "PUT",
"headers": {},
"parameters": [
{
"name": "customer_id",
"tool_parameter_name": "customer_id",
"description": "The ID of the customer to add to a group.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the customer to add to a group."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"documentation_urls": []
},
{
"name": "group_id",
"tool_parameter_name": "customer_group_id",
"description": "The ID of the customer group to add the customer to.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the customer group to add the customer to."
},
"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
}
]
}
}