Create API Request
unfour.api.create_requestCreate a saved API request record in the Unfour workspace via the command bus. Stores local metadata only without sending traffic; returns the new request id and a redacted summary.
Instructions
Creates a saved API request record in the workspace through the Unfour command bus. This mutates local Unfour metadata only; it does not send traffic. Dev/test allow it by default, while prod blocks by workspace policy. Returns the new request id and a redacted summary.
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": {
"name": "<name>",
"method": "<method>",
"url": "<url>"
},
"name": "unfour.api.create_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| auth | No | ||
| body | No | ||
| name | Yes | ||
| query | No | ||
| method | Yes | ||
| headers | No | ||
| authJson | No | ||
| bodyKind | No | ||
| parentId | No | ||
| workspaceId | No | ||
| collectionId | No | ||
| parentFolderId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||