Skip to content

HTTP Tools

Tool declarations let you wire external HTTP endpoints as typed ilo functions.

Create a tools.json file:

JSON
{
"tools": {
"weather": {
"url": "https://api.example.com/weather"
},
"lookup": {
"url": "https://api.example.com/lookup"
}
}
}

Each key is the tool name. The value must include a url field.

Shell
ilo --tools tools.json 'get-weather city:t>R t t;weather city' "London"

Tools are type-checked at load time - the agent can’t call a tool with wrong parameter types.