session_record
Record MCP tool call data into the current session to track and audit tool usage. Call after each tool invocation for session tracking.
Instructions
Record a tool call into the current session. Call this after every MCP tool call you want to track.
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": {
"tool_name": "<tool_name>",
"result": "<result>"
},
"name": "session_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| result | Yes | ||
| tool_name | Yes | ||
| session_id | No | Omit to use current session | |
| duration_ms | No |