Move Request
move_requestMove or copy a request file to another folder or collection without altering its contents. Transfers bytes verbatim to prevent any data loss.
Instructions
Relocate a request file to another folder, or to another collection entirely. Pass copy:true to duplicate it instead of moving it. The bytes are moved verbatim and nothing is parsed and rewritten, so no part of the request can be lost on the way — which also means seq arrives unchanged and may tie with a request already there; that is reported, and Bruno breaks such a tie by filename. The file keeps its name: use modify_request with filename to rename it. The new path comes back in the response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | Leave the original in place and write a duplicate at the destination. Since the file keeps its name, a copy needs a different folder or collection. | |
| filePath | Yes | Absolute path to the .yml or .bru request file to move. Get from list_requests or get_collection_stats. | |
| targetFolder | No | Folder inside the target collection, relative to its root, e.g. "auth/login". Omit for the collection root. Created if it does not exist. | |
| targetCollectionPath | No | Absolute path to the collection it should land in. Omit to move within the request's own collection. |