# http.send: Send to a URL

POST (or PUT/PATCH) a JSON body to a public URL, e.g. another system's webhook. Leaves the platform, so policy and approvals apply.

- **Effect:** writes, outside the platform
- **Through `lg_propose`:** waits for a person's approval in the inbox
- **Credential scope:** `agents:write` to start a run with `lg_propose`

## Inputs

| Field | Type | Required | Notes |
|---|---|---|---|
| `url` | string | yes |  |
| `headers` | object | no |  |
| `method` | "POST" \\| "PUT" \\| "PATCH" | no |  |
| `body` | any | no |  |

## Example MCP call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lg_propose",
    "arguments": {
      "tool": "http.send",
      "input": {
        "url": "…"
      }
    }
  }
}
```

Replace the placeholders in `input` with real values (the fields above). The answer has the run, its output, and anything waiting for a person.

All agent tools: [agent tools](https://www.restolayer.com/docs/agent-tools).
