{
  "protocolVersion": "0.3.0",
  "name": "codefmt",
  "description": "Formats and lints JavaScript, Python, and HubL for automation platforms (Zapier, n8n, Pipedream, Make, HubSpot). Wraps code in each platform's runtime shell before formatting so top-level await, bare return, and injected globals parse cleanly.",
  "url": "https://codefmt.dev/api/a2a",
  "preferredTransport": "JSONRPC",
  "supportedInterfaces": [
    {
      "url": "https://codefmt.dev/api/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "0.3.0"
    }
  ],
  "version": "1.0.0",
  "provider": {
    "organization": "codefmt",
    "url": "https://codefmt.dev"
  },
  "documentationUrl": "https://codefmt.dev/api/openapi.json",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "extendedAgentCard": false
  },
  "defaultInputModes": [
    "application/json",
    "text/plain"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/plain"
  ],
  "skills": [
    {
      "id": "format_code",
      "name": "Format and lint automation-platform code",
      "description": "Send a text part containing JSON {\"code\",\"platform\",\"language?\"}. Returns JSON { formatted_code, diagnostics, error }. platform is one of zapier, n8n, pipedream, make, hubspot, hubl. language is one of javascript, typescript, python and defaults to javascript. typescript parses as TypeScript on pipedream and reads as javascript elsewhere. zapier, n8n, pipedream, make, hubspot support python; hubl does not.",
      "tags": [
        "formatter",
        "linter",
        "javascript",
        "typescript",
        "python",
        "hubl",
        "zapier",
        "n8n",
        "pipedream",
        "make",
        "hubspot"
      ],
      "examples": [
        "{\"code\":\"const x=1;return x\",\"platform\":\"zapier\",\"language\":\"javascript\"}",
        "{\"code\":\"{% if x %}{{ x }}{% endif %}\",\"platform\":\"hubl\"}"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json"
      ]
    }
  ]
}