proxy_http
Send HTTP requests through a preset that supplies the base URL and credentials. Allow-listed methods and paths are validated before credentials are injected, and each call is audit-logged.
Instructions
Make an HTTP request through a preset. The preset selects the base
URL and authentication; you supply path, method, and optional
body / query. Allow-listed methods and paths are validated
server-side BEFORE any credential is injected. Sensitive presets
trigger a desktop / TUI approval prompt; you cannot bypass approval.
If the user previously approved a time-boxed window for this
preset+action, the call proceeds without a new prompt and is
recorded as 'windowed' in the audit log. Every call is recorded to
a local audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON body. | |
| path | Yes | Path relative to the preset's `base_url`. Must start with `/`. | |
| query | No | Optional query string parameters. | |
| method | Yes | HTTP method. Must be in the preset's `allowed_methods`. | |
| preset_name | Yes | Name of the preset to use (must exist in `list_presets`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Response body parsed as JSON; `null` if the upstream body is not JSON. | |
| status | Yes |