{
  "schema": "https://ai-atoms.com/schemas/tool-v1.json",
  "type": "tool",
  "id": "tool/http-post",
  "version": "1.0.0",
  "name": "http-post",
  "description": "HTTP POST / PUT / PATCH / DELETE. Side-effecting.",
  "subtype": "command",
  "spec": {
    "function_name": "http_post",
    "summary": "Perform a side-effecting HTTP request.",
    "parameters": {
      "url": {
        "type": "string",
        "description": "URL",
        "required": true
      },
      "method": {
        "type": "string",
        "description": "POST / PUT / PATCH / DELETE",
        "required": true
      },
      "body": {
        "type": "string",
        "description": "Request body",
        "required": false
      },
      "headers": {
        "type": "object",
        "description": "Request headers",
        "required": false
      }
    },
    "returns": {
      "type": "object",
      "description": "{status, headers, body}."
    },
    "side_effects": [
      "network"
    ]
  },
  "authored_by": "convergent-systems-key",
  "source_url": "https://github.com/convergent-systems-co/agent-atoms/blob/main/atoms/tool-definition/http-post.json",
  "category": "devops",
  "provenance": {
    "source": "convergent-systems-co/agent-atoms",
    "source_url": "https://github.com/convergent-systems-co/agent-atoms/blob/main/atoms/tool-definition/http-post.json",
    "author": "convergent-systems-co",
    "license": "Apache-2.0",
    "notes": "Re-typed from tool-definition by scripts/migrate-policy-tool.py."
  },
  "lifecycle": "stable"
}