Create Session (v3)
lyzr_session3_createCreate a new v3 session optionally associated with an agent. Use it to start a session with a unique ID, attach metadata, and link to an agent for Lyzr-powered workflows.
Instructions
Create a new v3 session, optionally tied to an agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "lyzr_session3_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Session source, e.g. 'playground' | |
| agent_id | No | Agent id this session belongs to | |
| metadata | No | Arbitrary metadata to attach to the session | |
| session_id | Yes | Unique id for the new session |