optimization.run
Run AI token optimization on a cloud skill, file, agent, or pack. Returns tokens_saved, savings_pct, version snapshot id, and a per-file breakdown. Requires MODELBOUND_API_KEY.
Instructions
Run AI token optimization on a cloud skill, file, agent, or pack. Returns tokens_saved, savings_pct, version snapshot id, and a per-file breakdown. Requires MODELBOUND_API_KEY. Server creates a backup version automatically; for local-file edits the caller MUST snapshot via the BackupEngine first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Project savings without writing. | |
| file_id | No | ||
| pack_id | No | ||
| agent_id | No | ||
| skill_id | No | ||
| intensity | No | balanced |