Skip to content

Session

IDsession
CategorySession
FeaturesNone
DependenciesNone

Tools to read and update session metadata like title and agent information.

Get current session metadata.

Returns: session ID, title, agent name.

Update the session title.

ParameterTypeRequiredDescription
titlestringyesNew session title
  • Auto-titling — agent sets a descriptive title based on the conversation topic
  • Context awareness — agent reads its own session ID for logging or references
User: Help me debug the login issue
Agent:
→ write_session_title("Debug: Login authentication failure")
→ get_session_info()
← { "session_id": "ses_01abc...", "title": "Debug: Login authentication failure", "agent_name": "DevOps Agent" }