prom_generate_config
Generate a Prometheus scrape configuration from a project directory. Specify the directory to produce a ready-to-use config for monitoring targets.
Instructions
Generate Prometheus scrape config
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": {
"directory": "<directory>"
},
"name": "prom_generate_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |