Skip to content

Commit 8a8d2c7

Browse files
committed
updates
1 parent 5ff8d9a commit 8a8d2c7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/ai-foundry/agents/how-to/tools/model-context-protocol-samples.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ PersistentAgentsClient agentClient = new(projectEndpoint, new DefaultAzureCreden
3636

3737
```
3838

39+
## Create the MCP tool definition
40+
3941
Create the MCP tool definition and configure allowed tools.
4042

4143
```csharp
@@ -104,11 +106,6 @@ while (run.Status == RunStatus.Queued || run.Status == RunStatus.InProgress || r
104106
}
105107
}
106108
}
107-
108-
Assert.AreEqual(
109-
RunStatus.Completed,
110-
run.Status,
111-
run.LastError?.Message);
112109
```
113110

114111
## Print the messages

0 commit comments

Comments
 (0)