validate_card
Validate an Adaptive Card JSON against the v1.6 schema and receive diagnostics with suggested fixes for each error.
Instructions
Validate an Adaptive Card JSON against the v1.6 schema. Returns diagnostics with suggested fixes for each error. Accepts card JSON or a cardId from a previous tool call.
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": {
"card": "<card>"
},
"name": "validate_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | The Adaptive Card JSON object to validate, or a cardId string | |
| host | No | Check compatibility with this host app. Default: generic | |
| strictMode | No | When true, warnings are treated as errors. Default: false |