set_agent_state
Store or update persistent agent data in the OncoFiles medical document system using key-value pairs for managing patient information.
Instructions
Set a persistent key-value pair for an agent.
Upserts: creates the key if new, updates if it already exists.
Args: key: State key name (e.g. "last_briefing_date", "treatment_protocol"). value: JSON string value to store. agent_id: Agent identifier (default: oncoteam).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| agent_id | No | oncoteam |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |