Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c7fedc8
[AI Agents] MCP tool typespec
glharper Jun 24, 2025
b6445f6
update typespec
glharper Jun 25, 2025
424bf42
add mcp tool type
glharper Jun 26, 2025
999c3ce
Merge branch 'main' into glharper/agents-mcp-tool
glharper Jun 26, 2025
28f9b0c
add submit_tool_approval required action
glharper Jun 26, 2025
a40dcc3
tsp compile output
glharper Jun 26, 2025
cb0c24d
add submitToolApprovals route
glharper Jun 27, 2025
5681637
Merge branch 'main' into glharper/agents-mcp-tool
glharper Jun 29, 2025
653e9e0
Merge remote-tracking branch 'origin/main' into glharper/agents-mcp-tool
glharper Jun 30, 2025
67364c0
corrections from npx tsv
glharper Jun 30, 2025
5979d1d
add version annotation to mcp agentNamedToolChoice
glharper Jun 30, 2025
a63038b
add mcp run step
glharper Jul 1, 2025
92df138
add "always" string to requireApproval, update npx tsv
glharper Jul 1, 2025
c2b03dd
add tool_resources to CreateRunOptions
glharper Jul 1, 2025
b66d4c8
Merge branch 'main' into glharper/agents-mcp-tool
glharper Jul 1, 2025
31647b6
add submitToolApprovalDetails
glharper Jul 2, 2025
df39fdf
Merge branch 'glharper/agents-mcp-tool' of https://github.com/Azure/a…
glharper Jul 2, 2025
ac8e2aa
update submit_tool_outputs route to handle approvals
glharper Jul 2, 2025
ab22e68
Merge branch 'main' into glharper/agents-mcp-tool
glharper Jul 2, 2025
f4e72da
Merge branch 'main' into glharper/agents-mcp-tool
glharper Jul 7, 2025
bec80dd
Update models.tsp
glharper Jul 8, 2025
a95987a
npx tsv .
glharper Jul 9, 2025
bea2b80
make createRun internal for .NET
glharper Jul 10, 2025
e669f67
Merge branch 'main' into glharper/agents-mcp-tool
glharper Jul 10, 2025
043cb52
Merge branch 'feature/azure-ai-agents-v1.1.0b4' into glharper/agents-…
glharper Jul 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update typespec
  • Loading branch information
glharper committed Jun 25, 2025
commit b6445f64ddd9738a3d317bbeaced1c95b793fd50
6 changes: 3 additions & 3 deletions specification/ai/Azure.AI.Agents/tools/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ model MCPToolDefinition extends ToolDefinition {
@encodedName("application/json", "server_url")
serverUrl: string;

@doc("Does MCP server require approval")
@encodedName("application/json", "require_approval")
requireApproval?: "never";
@doc("List of allowed tools for MCP server")
@encodedName("application/json", "allowed_tools")
allowedTools?: string[];
}

// Definition details: File Search
Expand Down
4 changes: 4 additions & 0 deletions specification/ai/Azure.AI.Agents/tools/tool_resources.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ model MCPToolResource {

@doc("The headers for the MCP server updates")
headers: Record<string>;

@doc("Does MCP server require approval")
@encodedName("application/json", "require_approval")
requireApproval?: "never";
}

/** Available query types for Azure AI Search tool. */
Expand Down