arcade-mcp/toolkits/squareup_api/arcade_squareup_api/wrapper_tools/DeleteCustomerCustomAttributeDefinition.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

105 lines
3.2 KiB
JSON

{
"name": "DeleteCustomerCustomAttributeDefinition",
"fully_qualified_name": "SquareupApi.DeleteCustomerCustomAttributeDefinition@0.1.0",
"description": "Delete a customer custom attribute definition for a seller account.\n\nThis tool deletes a customer-related custom attribute definition from a Square seller's account. It will also remove the related custom attribute from all customer profiles in the seller's Customer Directory. Only the definition owner can perform this action.",
"toolkit": {
"name": "ArcadeSquareupApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "custom_attribute_key",
"required": true,
"description": "The unique key of the custom attribute definition you wish to delete from the seller account.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The key of the custom attribute definition to delete."
},
"inferrable": true,
"http_endpoint_parameter_name": "key"
}
]
},
"output": {
"description": "Response from the API endpoint 'DeleteCustomerCustomAttributeDefinition'.",
"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/custom-attribute-definitions/{key}",
"http_method": "DELETE",
"headers": {},
"parameters": [
{
"name": "key",
"tool_parameter_name": "custom_attribute_key",
"description": "The key of the custom attribute definition to delete.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The key of the custom attribute definition to delete."
},
"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
}
]
}
}