ralph.upsert_spec
Write or update a spec file in .ralph/specs/ during Phase 2 to record your evolving understanding of source files, keeping specs ready for the next development steps.
Instructions
Write/update a spec file under .ralph/specs/**. Call this iteratively during Phase 2 as you explore source files and refine your understanding.
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": {
"relativePath": "<relativePath>",
"content": "<content>"
},
"name": "ralph.upsert_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| relativePath | Yes |