We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72a6047 + 26a74fc commit c80b585Copy full SHA for c80b585
2 files changed
cagent-schema.json
@@ -62,6 +62,10 @@
62
"type": "string",
63
"description": "Instructions for the agent"
64
},
65
+ "code_mode_tools": {
66
+ "type": "boolean",
67
+ "description": "Enable Code Mode for tools"
68
+ },
69
"sub_agents": {
70
"type": "array",
71
"description": "List of sub-agents",
examples/code_mode.yaml
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env cagent run
2
+version: "2"
3
+
4
+agents:
5
+ root:
6
+ model: anthropic/claude-sonnet-4-5
7
+ description: Demonstrates the use of Code Mode with tools
8
+ instruction: Use your tool to help the user with their github requests.
9
+ code_mode_tools: true
10
+ commands:
11
+ demo: How many issues in docker/cagent have a number that is prime?
12
+ toolsets:
13
+ - type: mcp
14
+ ref: docker:github-official
0 commit comments