Build
rm_projects_buildBulk install, build, and validate Python projects across repositories, with background validation jobs and status polling by job ID.
Instructions
Build (rm_projects). Bulk install, build, and validate Python projects.
The 'validate' action submits validation as a background job and returns a job_id immediately. Use 'validate_status' with that job_id to poll progress and retrieve results once complete.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rm_projects_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Install group (e.g. 'all') for 'install'. | all |
| job_id | No | Job ID to check status for 'validate_status' action. | |
| summary | No | For 'validate'/'validate_status': return a COMPACT roll-up (counts + failed set + running names) instead of the full per-job dump. Keeps responses inline-returnable at thousands of repos. Set False for the full per-job detail. | |
| threads | No | Parallel workers. | |
| output_dir | No | Directory to write the validation-reports for 'validate'. | |
| commit_code | No | For 'validate': after validation passes, concurrently stage (git add -A), run pre-commit, and commit feature code across ALL targeted repos. Use with commit_message. | |
| failed_only | No | For 'validate': target ONLY repositories whose most-recent validation failed (the remediation loop). Ignored if 'repositories' is given. Forces re-validation of that set. | |
| repositories | No | Comma-separated list of specific repositories to target. | |
| commit_message | No | Commit message for the commit_code step. Required when commit_code=True. | |
| generate_report | No | Generate validation report directory for 'validate'. Default True. | |
| force_revalidate | No | If true, bypass validation cache and force re-validation of all projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |