Validate and build A2A protocol Agent Cards (v1.0.0 field rules) with JSON-path issues, media type and URL checks, and the well-known discovery URL. Use when the user writes, reviews or debugs an agent-card.json.
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Reference for scripts/a2a_agent_card.py validate. Issues are sorted by path, then code.
| Code | Severity | Meaning |
|---|---|---|
missing | error | a required field is absent |
type | error | the value has the wrong JSON type (booleans are not strings) |
empty | error | a string is empty or only whitespace |
invalid_url | error | not https, or http for a host other than localhost, 127.0.0.1, ::1; or no host |
invalid_media_type | error | not of the form type/subtype |
duplicate_skill_id | error | two skills share an id |
unknown_field | warning | a field this validator does not know (top level, interface, capabilities, skill, provider) |
unknown_binding | warning | protocolBinding is not JSONRPC, GRPC or HTTP+JSON |
Top level (required): name, description, version (non-empty strings), supportedInterfaces
(list), capabilities (object), defaultInputModes, defaultOutputModes (lists of media types),
skills (list).
Top level (optional): provider, documentationUrl, iconUrl, securitySchemes,
securityRequirements, signatures. The last three must be an object or a list.
supportedInterfaces[i]: url (required, URL rule), protocolBinding (required),
protocolVersion (required), tenant (optional non-empty string).
capabilities: optional booleans streaming, pushNotifications, extendedAgentCard (null is
accepted), optional extensions list.
skills[i]: id, name, description (required non-empty strings), tags (required list of
non-empty strings), optional examples (list of non-empty strings), inputModes and
outputModes (lists of media types), securityRequirements (object or list).
provider: organization (required non-empty string) and url (required, URL rule).
documentationUrl, iconUrl: URL rule.
type/subtype, each part starting with a letter or digit and containing letters, digits and
!#$&^_.+-, case-insensitive. Examples: text/plain, application/json.
For a base URL with scheme http or https and a host, the card lives at
<scheme>://<host>[:port]/.well-known/agent-card.json; any path, query or fragment of the base
URL is dropped.