spa_http_request
Send HTTP requests from browser sessions to interact with APIs while preserving cookies and authentication.
Instructions
Make an HTTP request using the browser context (includes cookies and auth).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "spa_http_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL for HTTP request | |
| body | No | Request body (JSON string or form data) | |
| method | No | GET | |
| headers | No | Request headers | |
| session | No | Session ID | default |
| bearerToken | No | Bearer token for Authorization header |