Skip to content

Commit af6516a

Browse files
authored
remove tool name (#628)
1 parent 1f20eb9 commit af6516a

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

fern/tools/handoff.mdx

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ Best for OpenAI models - creates separate tool definitions for each destination:
102102
"tools": [
103103
{
104104
"type": "handoff",
105-
"name": "handoff_to_sales",
106105
"destinations": [
107106
{
108107
"type": "assistant",
@@ -116,7 +115,6 @@ Best for OpenAI models - creates separate tool definitions for each destination:
116115
},
117116
{
118117
"type": "handoff",
119-
"name": "handoff_to_support",
120118
"destinations": [
121119
{
122120
"type": "assistant",
@@ -130,7 +128,6 @@ Best for OpenAI models - creates separate tool definitions for each destination:
130128
},
131129
{
132130
"type": "handoff",
133-
"name": "handoff_to_billing",
134131
"destinations": [
135132
{
136133
"type": "assistant",
@@ -210,23 +207,23 @@ Your server must respond to this request with a single destination. You may pass
210207

211208
```json
212209
destination: {
213-
"type": "assistant",
214-
"assistantId": "assistant-id",
215-
"variableExtractionPlan": {
216-
"schema": {
217-
"type": "object",
218-
"properties": {
219-
"name": {
220-
"type": "string",
221-
"description": "Name of the customer",
222-
},
223-
},
224-
"required": ["name"],
210+
"type": "assistant",
211+
"assistantId": "assistant-id",
212+
"variableExtractionPlan": {
213+
"schema": {
214+
"type": "object",
215+
"properties": {
216+
"name": {
217+
"type": "string",
218+
"description": "Name of the customer",
219+
},
225220
},
226-
},
227-
"contextEngineeringPlan": {
228-
"type": "none",
229-
},
221+
"required": ["name"],
222+
},
223+
},
224+
"contextEngineeringPlan": {
225+
"type": "none",
226+
},
230227
},
231228
```
232229

0 commit comments

Comments
 (0)