Submit Adapted File
submit_adapted_fileSubmit a complete adapted application file for review, documenting every change and disposition. Deterministic checks gate the output write, leaving the application tree untouched.
Instructions
Store one complete adapted application file (never a diff) for review.
Same rules as submit_adapted_prompt: dispose every required change in
guidance_dispositions and document every edit in annotated_changes
(anchors match the raw file content). Deterministic checks gate the
write to <run>/output/files/; the application tree is never modified.
Pass unchanged=true with empty adapted_content for a reviewed no-change
file. Prompt sources are rejected here; use submit_adapted_prompt.
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": {
"run_dir": "<run_dir>",
"source_path": "<source_path>",
"adapted_content": "<adapted_content>",
"rationale": "<rationale>"
},
"name": "submit_adapted_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | No | ||
| run_dir | Yes | ||
| new_file | No | ||
| rationale | Yes | ||
| unchanged | No | ||
| source_path | Yes | ||
| adapted_content | Yes | ||
| annotated_changes | No | ||
| default_disposition | No | ||
| guidance_dispositions | No | ||
| default_disposition_note | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||