Metis — Apply Proposal Tool
apply_proposalApply a self-improvement proposal by writing the proposed skill.md change to disk, backing up the previous file, and marking the proposal as applied.
Instructions
Apply a self-improvement proposal: writes the proposed change to disk.
The previous skill.md content is backed up alongside as
``skill.md.bak.<timestamp>`` so a revert is always possible. Updates the
proposal row to status='applied' with the applied_at timestamp and the
backup path.
Args:
proposal_id: the id from skill_improvement_proposals.
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": {
"proposal_id": "<proposal_id>"
},
"name": "apply_proposal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |