get_session_info
Retrieve a snapshot of the current session state, including working directory, exit code, virtual environment, Git repository, project, and start time.
Instructions
Return a snapshot of the current session state.
Includes the working directory, last exit code, active virtual environment, active Git repository, active project, and session start time.
Returns: A dict with keys: status, data (session snapshot).
Examples: get_session_info()
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_session_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||