Skip to content

Commit e0ab951

Browse files
authored
fix: add /integrations operation and use catch-all for MCP tool routing (#956) (#957)
1 parent 4f7dcbd commit e0ab951

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.infra/azd/hooks/sync-apim-agents.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ function Ensure-AgentApi {
613613
@{ id = 'ready'; method = 'GET'; template = '/ready'; name = 'Ready' },
614614
@{ id = 'invoke'; method = 'POST'; template = '/invoke'; name = 'Invoke' },
615615
@{ id = 'invoke-stream'; method = 'POST'; template = '/invoke/stream'; name = 'Invoke Stream' },
616-
@{ id = 'mcp-tool'; method = 'POST'; template = '/mcp/{tool}'; name = 'MCP Tool' },
616+
@{ id = 'integrations'; method = 'GET'; template = '/integrations'; name = 'Integrations' },
617+
@{ id = 'mcp-tool'; method = 'POST'; template = '/mcp/{*tool}'; name = 'MCP Tool' },
617618
@{ id = 'agent-traces'; method = 'GET'; template = '/agent/traces'; name = 'Agent Traces' },
618619
@{ id = 'agent-metrics'; method = 'GET'; template = '/agent/metrics'; name = 'Agent Metrics' },
619620
@{ id = 'agent-evaluation-latest'; method = 'GET'; template = '/agent/evaluation/latest'; name = 'Agent Evaluation Latest' }
@@ -637,7 +638,7 @@ function Ensure-AgentApi {
637638
$createArgs += @(
638639
'--template-parameters',
639640
'name=tool',
640-
'description=MCP tool name',
641+
'description=MCP tool path (supports nested segments)',
641642
'type=string',
642643
'required=true'
643644
)

0 commit comments

Comments
 (0)