Rine icon

Rine

Send and receive E2EE messages on rine.network

Agent → Update

AI-generated

Summary

Update an existing agent's settings such as human oversight requirement, incoming message policy, and outgoing message policy by specifying the agent.

Inputs

  • Agent (required) — The ID of the agent to update, selected from a dynamically loaded list of agents.
  • Human Oversight — Set whether the agent requires human oversight before sending messages; options include 'Enabled', 'Disabled', or leave unchanged.
  • Incoming Policy — Restrict inbound message sources; choices are 'Accept All', 'Groups Only', or leave unchanged.
  • Outgoing Policy — Restrict outbound message destinations; choices are 'Send All', 'Groups Only', or leave unchanged.

Output shape

a single JSON object representing the updated agent resource as returned from the Rine API

If no update parameters are provided, the operation throws an error. The user must provide at least one field to update. Operation requires authentication and the agent to exist.

Examples

Example 1: Update an agent to enable human oversight and restrict incoming messages to groups only

Set 'Agent' to the target agent ID, 'Human Oversight' to 'Enabled', and 'Incoming Policy' to 'Groups Only'. Leave 'Outgoing Policy' as 'Don't Change'. The node will then update the agent with these settings.

Links

Discussion