Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[query] how to use pre/post_tool_call on agentforce?

Open
#42 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
documentation

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.

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?

Code Ref: https://github.com/salesforce/agentscript/blob/main/packages/compiler/src/generated/agent-dsl.ts#L857

Want to understand if these hooks are supported or not? If yes do we have some examples that we can refer?

Dominant language
TypeScript
Stars
267
Forks
54
Avg merge
48m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from salesforce/agentscript

All issues in salesforce/agentscript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.