The shape a tool takes in the AgentRow builder API. Credentials are stored on the tool's auth settings, not in its configuration, so they never reach a prompt. Placeholders in double braces are filled by the model from the input schema.
{
"name": "github_list_issues",
"type": "http_api",
"description": "List open issues for a repository, optionally filtered by label. Use when the user asks what is open or whether an issue already exists.",
"auth_type": "bearer_token",
"safety_level": "safe_read",
"is_readonly": true,
"config": {
"method": "GET",
"url": "https://api.github.com/repos/{{owner}}/{{repo}}/issues",
"headers": { "Accept": "application/vnd.github+json", "X-GitHub-Api-Version": "2022-11-28" },
"query_params": { "state": "open", "labels": "{{labels}}", "per_page": "20" },
"allowed_domains": ["api.github.com"]
},
"input_schema": {
"type": "object",
"properties": {
"owner": { "type": "string" },
"repo": { "type": "string" },
"labels": { "type": "string", "description": "Comma-separated label names, optional" }
},
"required": ["owner", "repo"]
}
}