create_session itself) requires a session_id and a reason. Sessions group a related set of tool calls into a single unit in the activity log â âweekly reviewâ, âdining rule cleanupâ, etc. â so households can see what an agent did and why. Sessions are the only concept that sits between the API key and the individual tool call; the MCP admin dashboard shows tool calls grouped by session.
create_session
Starts an audit session and returns asession_id for use on subsequent write tool calls. One session per logical task.
Scope: Write
Exception to the session rule.
create_session is the one write tool that doesnât require a session_id â itâs how you obtain one. reason is also not required on this call; pass purpose instead to describe the session as a whole.Parameters
Brief label for this session. Examples:
"weekly transaction review", "rule creation for dining merchants", "monthly spending report".Example input
Example output
The response identifies the sessionâs owner via
api_key_name (the API key that created it) â there is no separate actor field. Sessions do not track a completed_at timestamp; they stay live and accumulate tool calls, with tool_call_count and last_call_at surfacing in subsequent reads.Using the returned session_id
Every subsequent write call in the session passes the returnedid as session_id:
session_id as optional â include it to associate the read with the session in the audit log, or omit it if you donât care.