Get custom object schema
ghl_get_object_schemaFetch a custom object schema by key to retrieve its properties and structure.
Instructions
Fetch a custom object schema by key (e.g. custom_objects.podcast_episode), including its properties.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schemaKey": "<schemaKey>"
},
"name": "ghl_get_object_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schemaKey | Yes | Object key, e.g. custom_objects.podcast_episode. | |
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |