AP2 MCP Policy Validator & Bridge
validate_ap2_mcp_policyValidates AP2 Policy Mandate JSON payloads against the Unified Build Contract v1.0 schema. Auto-generates MCP tool definitions and simulates agent ingestion for testing agentic payment policies.
Instructions
Validate AP2 Policy Mandate JSON payloads against the Unified Build Contract v1.0 schema. Auto-generates MCP tool definitions from the mandate and simulates agent ingestion of agent_instructions. Use when authoring or testing AP2 agentic payment policies. Renders the interactive AINumbers tool as a widget; inputs are applied via the AIN Bridge and the tool runs client-side (zero PII, zero network).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_ap2_mcp_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Map of tool input element IDs to values (see manifest input_schema). Applied via AIN Bridge prefill. |