cortex_log_tokens
Logs input and output tokens for a session to track API usage after each tool call.
Instructions
Log token usage for the current action. Call after every tool call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| input_tokens | Yes | Input tokens used | |
| output_tokens | Yes | Output tokens generated |