You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/intelligentapps/agentbuilder.md
+31-9Lines changed: 31 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
ContentId: bd3d7555-3d84-4500-ae95-6dcd39641af0
3
-
DateApproved: 04/22/2025
3
+
DateApproved: 06/16/2025
4
4
MetaDescription: Get Started with creating, iterating and optimizing your agents in AI Toolkit.
5
5
---
6
6
# Build agents and prompts in AI Toolkit
@@ -16,9 +16,10 @@ Agent Builder in AI Toolkit streamlines the engineering workflow for building ag
16
16
17
17
Agent Builder also enhances intelligent app's capabilities with tool use:
18
18
- Connect to existing MCP servers
19
-
- Build a new MCP server from scaffold and test in Agent Builder
19
+
- Build new MCP servers from scaffolds
20
+
- Use function calling to connect to external APIs and services
20
21
21
-

22
+

22
23
23
24
## Create, edit, and test prompts
24
25
@@ -31,19 +32,19 @@ To test a prompt in Agent Builder, follow these steps:
31
32
32
33
1. In **Models**, select a model from the dropdown list, or select **Browse models** to add another model from the model catalog.
33
34
34
-

35
+

35
36
36
37
1. Enter a **User prompt** and optionally enter a **System prompt**.
37
38
38
39
The *user prompt* is the input that you want to send to the model. The optional *system prompt* is used to provide instructions with relevant context to guide the model response.
39
40
40
41
> [!TIP]
41
-
> You can describe your project idea by using natural language and let the AI-powered feature generate the prompts for you to experiment with.
42
-
> 
42
+
> Describe your project idea using natural language to generate prompts automatically.
43
+
> 
43
44
44
-
1. Select **Run** to send the prompts to the selected model.
45
+
3. Select **Run** to send the prompts to the model.
45
46
46
-
1. Optionally, select **Add Prompt** to add more user and assistant prompts to the conversation, or select **Add to Prompts**as the history and context you send to the model to further guide the model's behavior.
47
+
4. Optionally, select **Add Prompt** to add more prompts or **Add to Prompts** to build conversation history.
47
48
48
49
1. Repeat the previous steps to iterate over your prompts by observing the model response and making changes to the prompts.
49
50
@@ -70,7 +71,7 @@ To configure an MCP server from featured selections, follow these steps:
70
71
71
72
### Use an existing MCP server
72
73
> [!TIP]
73
-
> There are many registries and marketplaces for MCP servers. We recommend starting with these [reference servers](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#-reference-servers).
74
+
> Find MCP servers in these [reference servers](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#-reference-servers).
74
75
75
76
To use an existing MCP server, follow these steps:
76
77
1. In the **Tools** section, select **+ MCP Server**, and then select **+ Add server** in the quick pick.
@@ -130,6 +131,27 @@ Follow these steps to test the MCP server:
Function calling connects your agent to external APIs and services.
137
+
138
+

139
+
140
+
1. In **Tools**, select **Add Tool**, then **Custom Tool**.
141
+
2. Choose how to add the tool:
142
+
-**By Example**: Add from a JSON schema example
143
+
-**Upload Existing Schema**: Upload a JSON schema file
144
+
3. Enter the tool name and description, then select **Add**.
145
+
4. Provide a mock response in the tool card.
146
+
147
+

148
+
149
+
5. Run the agent with the function calling tool.
150
+
151
+
Use function calling tools in the **Evaluation** tab by entering mock responses for test cases.
152
+
153
+

154
+
133
155
## Structured output
134
156
135
157
Structured output support helps you design prompts to deliver outputs in a structured, predictable format.
0 commit comments