parseHttpFile
Parse .http or .rest files to extract request methods, URLs, headers, and bodies for each request in the file.
Instructions
Parse VS Code REST Client file (.http/.rest). Returns method, URL, headers, body per request.
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": {
"filePath": "<filePath>"
},
"name": "parseHttpFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .http or .rest file within the workspace |