50 lines
1 KiB
JSON
50 lines
1 KiB
JSON
{
|
|
"name": "agent-multi-turn-tools",
|
|
"description": "Two-turn fixture where the agent uses multiple Write tools across turns",
|
|
"turns": [
|
|
{
|
|
"role": "user",
|
|
"content": "Create two files: hello.txt and world.txt"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "I'll create both files.",
|
|
"toolUses": [
|
|
{
|
|
"name": "Write",
|
|
"input": {
|
|
"file_path": "/tmp/hello.txt",
|
|
"content": "Hello"
|
|
},
|
|
"output": "File created successfully at /tmp/hello.txt"
|
|
},
|
|
{
|
|
"name": "Write",
|
|
"input": {
|
|
"file_path": "/tmp/world.txt",
|
|
"content": "World"
|
|
},
|
|
"output": "File created successfully at /tmp/world.txt"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "Now create a combined file"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "I'll create the combined file.",
|
|
"toolUses": [
|
|
{
|
|
"name": "Write",
|
|
"input": {
|
|
"file_path": "/tmp/combined.txt",
|
|
"content": "Hello World"
|
|
},
|
|
"output": "File created successfully at /tmp/combined.txt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|