distillery_configure
Read or adjust live configuration values for feeds, thresholds, defaults, and classification to tune system behavior without editing config files.
Instructions
Read or update a runtime configuration value.
USE WHEN: reading current thresholds/settings, or adjusting them at runtime without editing the config file directly.
PARAMS:
section (str, required): Config section path (dotted notation). Valid: [feeds, feeds.thresholds, defaults, classification].
key (str, required): Config key within the section. Valid keys by section: feeds: [user_agent]; feeds.thresholds: [alert, digest]; defaults: [dedup_threshold, dedup_limit, stale_days]; classification: [confidence_threshold, mode].
value (str | int | float | None, optional): New value. Omit to read the current value. When provided, must satisfy type and range constraints for the given key.
RETURNS (read): { section: str, key: str, value: any, message: str } RETURNS (write): { changed: bool, section: str, key: str, previous_value: any, new_value: any, disk_written: bool, message: str } RETURNS (error): { error: true, code: "INVALID_PARAMS" | "INTERNAL", message: "..." }
RELATED: distillery_watch (to manage feed sources), distillery_status (to review current system state)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | No | ||
| section | Yes |