get_latest_roi_analyses
Fetch finished ROI analysis results per type for a specific agent to obtain current cost-optimization recommendations. Both agent ID and analysis types are required.
Instructions
Get the latest finished ROI analysis result per type for one agent — the agent's current cost-optimization recommendations.
Both agent_id and analysis_types are required. Returns a dict keyed by analysis_type; a type with no finished run yet is simply absent from the result rather than erroring.
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": {
"agent_id": "<agent_id>",
"analysis_types": "<analysis_types>"
},
"name": "get_latest_roi_analyses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| analysis_types | Yes |