compare_to_schema
Validate a live API response against the OpenAPI schema of a weclapp entity to identify mismatches or missing fields.
Instructions
Compare a live payload with the OpenAPI schema fields for an entity.
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": {
"entity": "<entity>",
"response": "<response>"
},
"name": "compare_to_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| response | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||