get_type_info
Retrieve detailed type information for a specific Square API method. Required step before executing an API request to ensure parameter accuracy and compatibility.
Instructions
Get type information for a Square API method. You must call this before calling the make_api_request tool.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
method | Yes | The API method to call (e.g., 'list', 'create') | |
service | Yes | The Square API service category (e.g., 'catalog', 'payments') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"method": {
"description": "The API method to call (e.g., 'list', 'create')",
"type": "string"
},
"service": {
"description": "The Square API service category (e.g., 'catalog', 'payments')",
"type": "string"
}
},
"required": [
"service",
"method"
],
"type": "object"
}