rp_setup_workspace
Creates an isolated, patched copy of a RedPitaya-FPGA repository so builds never modify the pristine checkout. Patches block-design version checks and skips git; idempotent, no Vivado session needed.
Instructions
Copy a RedPitaya-FPGA repo into an isolated workspace so builds don't touch the pristine checkout. The copy is patched to run on the installed Vivado release (block-design version check) and without git. Idempotent — pass force=true to recopy. No Vivado session required.
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": {
"repo_path": "<repo_path>"
},
"name": "rp_setup_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, delete and recopy an existing workspace (default: false) | |
| repo_path | Yes | Path to the RedPitaya-FPGA checkout (contains prj/, rtl/, brd/, *.tcl) | |
| workspace_path | No | Destination workspace dir. Default: <repo_parent>/redpitaya_mcp_workspace |