Skip to content

Commit 6d28446

Browse files
committed
Update code_mode_utcp_client.ts
1 parent e83155a commit 6d28446

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/code-mode/src/code_mode_utcp_client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ You have access to a CodeModeUtcpClient that allows you to execute TypeScript co
3838
- Build properly structured input objects based on interface definitions
3939
- Handle errors appropriately with try/catch blocks
4040
- Chain tool calls by using results from previous calls
41+
- return the results you need
42+
- the code you write will be wrapped in an async function and executed in a vm context
4143
4244
### 4. Best Practices
4345
- **Discover first, code second**: Always explore available tools before writing execution code

0 commit comments

Comments
 (0)