1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "say hi"
}
]
}
],
"tools": [
{
"name": "Agent",
"description": "Launch a new agent to handle complex, multi-step tasks.",
"input_schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"description": {
"description": "A short (3-5 word) description of the task",
"type": "string"
},
"prompt": {
"description": "The task for the agent to perform",
"type": "string"
},
"model": {
"description": "Optional model override for this agent. Takes precedence over the agent definition's model frontmatter. If omitted, uses the agent definition's model, or inherits from the parent.",
"type": "string",
"enum": [
"opus",
"haiku",
"sonnet"
]
}
},
"required": [
"description",
"prompt"
],
"additionalProperties": false
}
}
],
"pruning": {
"decomposed_catalog": {
"build_index": {},
"json": [
{
"id": "AskUserQuestion",
"name": "AskUserQuestion",
"file_path": "src/catalog/schemas/decomposed/AskUserQuestion/metadata.json",
"score": "0.00345749058760702610",
"start_line": 1,
"end_line": 14,
"language": "json",
"content": {
"id": "AskUserQuestion",
"name": "AskUserQuestion",
"inputSchema": {
"properties": {
"metadata": {
"description": "Optional metadata for tracking and analytics purposes. Not displayed to user.",
"type": "object",
"properties": {},
"additionalProperties": false
}
}
}
}
}
],
"md": [
{
"id": "code",
"file_path": "src/catalog/schemas/decomposed/code.md",
"score": "0.00698569510132074356",
"start_line": 1,
"end_line": 1,
"language": "markdown",
"content": "code"
}
]
}
}
}