improve_r_prompt
Structures an existing R prompt while preserving its original text and constraints, adding context like packages, R version, and detail level for codex, ChatGPT, or generic targets.
Instructions
Structure an existing prompt while retaining its complete original text and constraints.
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": {
"existing_prompt": "<existing_prompt>"
},
"name": "improve_r_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| packages | No | ||
| r_version | No | ||
| detail_level | No | ||
| existing_prompt | Yes | ||
| project_context | No | ||
| enhancement_mode | No | deterministic | |
| improvement_goals | No | ||
| structured_context | No | ||
| bioconductor_release | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||