Define a typed HTTP tool in the dashboard, then call it from an agent objective.
Use the HTTP adapter when an API has no OpenAPI specification, or when you want to expose only a few hand-designed operations. The tool set stores a shared base URL and headers. Each tool defines its method, path, arguments, and optional request body.This guide wraps JSONPlaceholder’s public todo endpoint as a read-only GetTodo tool. You configure it in the dashboard, then verify the live request from code.
Select Tool Sets, click Create Tool Set, and select HTTP. Enter this Base URL:
https://jsonplaceholder.typicode.com
A shared base URL for every tool in the set
Use Add header when every endpoint needs the same value. Store credentials as secrets and reference them as ${SECRET_NAME}:
Authorization: Bearer ${TODO_API_TOKEN}
Tool-level headers can add or override values for one endpoint.
2
Name and create the set
Click Continue and enter:
Field
Value
Name
Public Todos
Description
Read public todo records from JSONPlaceholder.
External ID
public-todos
Review the configuration, then click Create Tool Set.The new Tools tab is empty. HTTP tool sets do not discover operations. You define each tool explicitly.
Under Parameters, click Convert a JSON payload to a schema and paste:
{ "todoId": 1}
Click Convert, inspect the inferred schema, then click Accept. The resulting JSON Schema requires one integer named todoId.The metadata Name identifies the Cadenya resource. Tool Name is the function name sent to the model. Keeping those names separate lets you use a conventional resource name while giving the model a concise operation name.
Select Required for tools that change data, send messages, move money, or trigger another sensitive action. The objective pauses before Cadenya sends the request. Your application can then approve or deny the tool call.