Create, configure, and use custom tools in your pathways, and prompts.
{{user_name}}
with the value of the user_name
collected previously in the pathway.
$.status
and for color as $.response_object.color
.
Ask the user for their name and age.This works in tandem with your custom tool configuration:
After they give you their name and age, use your tool “Send User Information” to pass in theuser_name
anduser_age
to the custom tool.
And then let the user know the status of the custom tool when you get the response.
user_name
and user_age
(see below){{input.user_name}}
and {{input.user_age}}
{{status}}
. These variables can then be used throughout the rest of the dialogue.Note: You can include tools within your API requests by passing in an array of tool IDs. See API documentation for details.
Important: Variable extraction does not occur automatically when using a custom tool in a pathway. You must ensure that any variables needed by the tool (e.g. user_name, user_age) are extracted earlier in the pathway using variable extraction or by utilizing the variables section of the custom tool. Only variables that have been previously captured will be available to the tool at runtime.