Compact artifact file
rubrkit_compact_artifact_fileShorten a markdown or text prompt without losing instructions. mode standard (default) is a free deterministic pass that saves a new version unless dryRun is true; requires files:write for API keys. mode deep starts an AI compaction job that uses credits, verifies every instruction was kept, and never saves on its own: poll the returned job, then call rubrkit_apply_deep_compaction; requires compactions:run for API keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | standard | |
| dryRun | No | ||
| fileId | Yes | ||
| artifactBundleId | Yes |