Create Session
lyzr_session_createCreate a new session for a user. Optionally bind it to an agent and add metadata for context.
Instructions
Create a new session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Owner of the session | |
| agent_id | No | Agent this session is bound to | |
| metadata | No | Free-form session metadata (defaults to {}) | |
| extra_fields | No | Additional Session fields to merge into the body |