session_end
Family: Sessions — one bounded sitting of governed work — start, end, resume, inspect. See Sessions.
End a Vyasa session.
@mcp.tool()
def session_end(
dir: str,
session_id: str,
force: bool = False,
) -> str
Parameters
| Name | Type | Required |
|---|---|---|
dir | str | yes |
session_id | str | yes |
force | bool | no (default False) |
Returns str.
Call shape
Fill your values; omit optional parameters:
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "session_end",
"arguments": {
"dir": "...",
"session_id": "...",
"force": false
}
}
}