Save a request to the workspace
save_requestSaves an API request with its validation checks into a collection or folder, enabling anyone who clones the repo to re-run it in later sessions.
Instructions
Saves an API request with its checks into a collection (and folder path like "Orders/Create"), in the app's format, so it can be re-run with run_request / run_collection by anyone who clones the repo. Use it after http_request proved a check worth keeping. Credentials must be {{variable}} references (values live in the git-ignored .env). Refuses to replace a request with the same name unless overwrite is true. An open SignOff Studio window offers to reload.
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>",
"url": "<url>"
},
"name": "save_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Prefer {{baseUrl}}/path so it works in every environment | |
| auth | No | Values must be {{variable}} references | |
| body | No | ||
| name | Yes | Request name, e.g. "Create order" | |
| query | No | ||
| folder | No | Folder path inside the collection, created if missing, e.g. "Orders/Create" | |
| method | No | ||
| asserts | No | ||
| headers | No | ||
| bodyType | No | ||
| overwrite | No | Replace a request with the same name in that folder | |
| collection | No | Collection name or id (optional when the workspace has one) | |
| description | No | ||
| createCollection | No | Create the collection when it does not exist |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| path | Yes | File, relative to the workspace | |
| folder | Yes | ||
| replaced | Yes | ||
| collection | Yes | ||
| createdFolders | Yes | ||
| createdCollection | Yes |