salesforce / salesforce/agentscript
[query] how to use pre/post_tool_call on agentforce?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 54
- Avg merge
- 48m
- Merged PRs (30d)
- 1
Description
I can see, we have pre/post_tool_call in this repo but nothing related to it is present in documentation and how to use the same in agentforce?
Want to understand if these hooks are supported or not? If yes do we have some examples that we can refer?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at packages/compiler/src/generated/agent-dsl.ts around line 857 and inspect how pre/post_tool_call are defined. Check the existing documentation for related agent hooks, then confirm whether these hooks are supported in Agentforce; done means documenting the supported behavior and adding a usable example if applicable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100