Validate an UpdateConnector payload
afas_validate_payloadValidate an AFAS UpdateConnector payload against its connector schema before sending, showing the exact request body and flagging missing mandatory fields for inserts.
Instructions
Check an UpdateConnector payload against the connector schema without sending it, and show the exact body.
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": {
"connector_id": "<connector_id>",
"element": "<element>"
},
"name": "afas_validate_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | The Element payload: {"Fields": {...}, "Objects": {...}} plus "@KeyField": value entries for updates. A list of such objects sends several records at once. | |
| operation | No | insert requires all mandatory fields; update does not. | insert |
| connector_id | Yes | UpdateConnector id as listed by afas_list_connectors, e.g. KnSubject. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||