resource_usage_snapshot
Capture CPU, memory, disk, and GPU usage in Colab, optionally appending to a JSONL file.
Instructions
Captures CPU, memory, disk, and GPU usage through Colab Terminal and optionally appends it to a JSONL file.
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": "resource_usage_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | No | Runtime path to append the JSON usage snapshot to. Set to an empty string to avoid saving. | /content/colab_mcp_usage.jsonl |