list_counters
Discover available EventCounter metrics from a .NET process by listing names and current values.
Instructions
Lists all available EventCounter names and current values from a .NET process. Use this to discover what metrics are available before calling get_memory_stats.
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": {
"pid": "<pid>"
},
"name": "list_counters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The process ID (PID) of the target .NET application | |
| sampleSeconds | No | Sample duration in seconds (default: 3) |