diff options
| author | Aiden Cline <[email protected]> | 2025-09-19 12:40:40 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-19 12:40:40 -0500 |
| commit | c21161b75e627ec1af22947f465ee72027918d31 (patch) | |
| tree | 528ea9587d0717cbd8d13f0441f47bface1bd9ad | |
| parent | aaff0664574114f2b4a9c2bf3eefbe6b8fade0da (diff) | |
| download | opencode-c21161b75e627ec1af22947f465ee72027918d31.tar.gz opencode-c21161b75e627ec1af22947f465ee72027918d31.zip | |
docs: fix bad docs (#2691)
| -rw-r--r-- | packages/web/src/content/docs/custom-tools.mdx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/web/src/content/docs/custom-tools.mdx b/packages/web/src/content/docs/custom-tools.mdx index 5760c3032..69a1783b7 100644 --- a/packages/web/src/content/docs/custom-tools.mdx +++ b/packages/web/src/content/docs/custom-tools.mdx @@ -118,8 +118,8 @@ export default tool({ args: {}, async execute(args, context) { // Access context information - const { project, directory, worktree } = context - return `Project: ${project.name}, Directory: ${directory}` + const { agent, sessionID, messageID } = context + return `Agent: ${agent}, Session: ${sessionID}, Message: ${messageID}` }, }) ``` |
