Skip to main content

Create Object Record

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.create_object_record

Create a new record in a custom or standard object with properties, owner, and followers

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-create-object-record-example",
"method": "tools/call",
"params": {
"name": "ghl.create_object_record",
"arguments": {
"schemaKey": "schemaKey_example",
"properties": {},
"tenantId": "tenantId_123",
"strictTenant": false,
"locationId": "locationId_123",
"owner": [],
"followers": []
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"strictTenant": {
"type": "boolean"
},
"schemaKey": {
"type": "string"
},
"properties": {
"type": "object"
},
"locationId": {
"type": "string"
},
"owner": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1
},
"followers": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10
}
},
"required": [
"schemaKey",
"properties"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-create-object-record-example",
"method": "tools/call",
"params": {
"name": "ghl.create_object_record",
"arguments": {
"schemaKey": "schemaKey_example",
"properties": {},
"tenantId": "tenantId_123",
"strictTenant": false,
"locationId": "locationId_123",
"owner": [],
"followers": []
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.create_object_record executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}