create_session
Start a learning session for a learner by supplying their ID and topic, with optional domain-grounding settings to tailor the tutoring flow.
Instructions
Create a learning session. learner_id is required (P0 is single-learner).
Domain-grounding switches are stored per session, not globally. When domain_grounding_warn_user is true the returned notice must be shown to the user before the grounding stage starts.
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": {
"learner_id": "<learner_id>",
"topic": "<topic>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| learner_id | Yes | ||
| request_id | No | ||
| learner_name | No | ||
| domain_grounding_warn_user | No | ||
| allow_skip_domain_grounding | No |