# RunAgentAction

> Send a prompt to a registered agent or Rippling AI, in a new or existing session.

# RunAgentAction

Send a prompt to a registered agent or Rippling AI, in a new or existing session.

**kind** string required

**Possible values:** \[`run_agent`\]

Selects the agent action configuration.

**id** string required

Nonempty step ID, unique within the definition.

**agent\_type** string

**Possible values:** \[`REGISTERED_AGENT`, `RIPPLING_AI`\]

**Default value:** `REGISTERED_AGENT`

Agent to invoke. REGISTERED\_AGENT requires agent\_id; RIPPLING\_AI selects Rippling AI.

**agent\_id** string nullable

Registered agent ID, required for REGISTERED\_AGENT. Use an agent configured in Rippling.

**role\_id** string nullable

Optional Rippling role ID passed to the agent action. Must be a valid object ID when supplied.

**mode** string

**Possible values:** \[`NEW_SESSION`, `EXISTING_SESSION`\]

**Default value:** `NEW_SESSION`

Start a new conversation by default, or continue an existing conversation using session\_id.

**session\_id** string nullable

Existing agent session ID, required for EXISTING\_SESSION. Must be a valid object ID.

**prompt** string required

Nonempty instructions or question to send to the agent.

Source: https://developer.rippling.com/documentation/rest-api/reference/schemas/runagentaction

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
