| 328 | } |
| 329 | |
| 330 | static bool append_yaml_mcp_tools(profile_buffer_t *buffer, cbm_graph_profile_dialect_t dialect, |
| 331 | cbm_graph_tier_t tier) { |
| 332 | const profile_tool_t *tools = NULL; |
| 333 | size_t count = 0U; |
| 334 | tier_tool_set(tier, &tools, &count); |
| 335 | for (size_t i = 0U; i < count; i++) { |
| 336 | char identifier[160]; |
| 337 | if (!tool_identifier(dialect, tools[i], identifier, sizeof(identifier)) || |
| 338 | !profile_buffer_append(buffer, " - ") || !profile_buffer_append(buffer, identifier) || |
| 339 | !profile_buffer_append(buffer, "\n")) { |
| 340 | return false; |
| 341 | } |
| 342 | } |
| 343 | return true; |
| 344 | } |
| 345 | |
| 346 | static bool append_csv_mcp_tools(profile_buffer_t *buffer, cbm_graph_profile_dialect_t dialect, |
| 347 | cbm_graph_tier_t tier) { |
no test coverage detected