help: how to write a custom tool function? #103
-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @pigparadise -- for the moment that's the easiest way (it's not usually too bad - i use them in e2e tests etc: https://github.com/evalstate/fast-agent/blob/main/tests/e2e/smoke/test_server.py) Having thought on this for a bit (and not wanting too much complexity) I do plan (or would love a PR for) to copy the Anthropic quickstart Tool definition (https://github.com/anthropics/anthropic-quickstarts/tree/main/agents) as a good way to offer this functionality. |
Beta Was this translation helpful? Give feedback.
-
it works,thank you! |
Beta Was this translation helpful? Give feedback.
Hi @pigparadise -- for the moment that's the easiest way (it's not usually too bad - i use them in e2e tests etc: https://github.com/evalstate/fast-agent/blob/main/tests/e2e/smoke/test_server.py)
Having thought on this for a bit (and not wanting too much complexity) I do plan (or would love a PR for) to copy the Anthropic quickstart Tool definition (https://github.com/anthropics/anthropic-quickstarts/tree/main/agents) as a good way to offer this functionality.