Understanding tools in Julep
web_search(query)
tool to search the Internet for some information.
Unlike agent frameworks, julep is a backend that manages agent execution. Clients can interact with agents using our SDKs. julep takes care of executing tasks and running integrations.
functions
: Function signatures provided to the model, similar to OpenAIβs function-calling. These require client handling, and the workflow pauses until the client executes the function and returns the results to Julep. Learn moresystem
tools: Built-in tools for calling Julep APIs, such as triggering task execution or appending to a metadata field. Learn moreintegrations
: Built-in third-party tools that enhance the capabilities of your agents. Learn moreapi_calls
: Direct API calls executed during workflow processes as tool calls. Learn moreSystem
tools are built into the backend. They get executed automatically when needed. They do not require any action from the client-side. For example,
Available system resources and operations
Agent
User
Session
Task
Doc (subresource for agent and user)
Additional Operations
integration
tools are directly executed on the julep backend. Any additional parameters needed by them at runtime can be set in the agent/session/user
metadata
fields.
An example of how to create a integration
tool for an agent using the wikipedia
integration:
api_call
during workflow executions as tool calls. Similar to integration
tools, additional runtime parameters are loaded from metadata fields.
API call tools support params_schema
to define the expected parameters for the API call, enabling better validation and documentation:
params_schema
follows JSON Schema format and helps:Available API HTTP Methods
Available API Call Parameters
method
and url
set in the api_call
configuration.client.agents.tools.create
method.
An example of how to create a integration
tool for an agent using the wikipedia
integration:
client.tasks.create
method and define the tool in that task
definitions.
auto_run_tools
parameter.
auto_run_tools=true
when calling sessions.chat()
auto_run_tools: true
in the prompt step definitionauto_run_tools=false
):
auto_run_tools=true
when:
auto_run_tools=false
when:
Model Decision
Tool Call Generation
Automatic Execution
Result Processing
Response Generation
sessions.chat()
, the recall_tools
parameter controls whether tool interactions are saved in the conversation history:
recall_tools=true
(default): Tool calls and results are preservedrecall_tools=false
: Tool interactions are excluded from history