Tool
List tools
Changed onThe project's tools and the built-in ones, each with its latest version: inputs, description and, for a tool a hosted agent runs, its request. Attach one to an agent draft by id.
get/v1/tool
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/tool
- AuthHTTP bearer
Query parameters
agentIdstring uuid
Only tools scoped to this agent
includeBuiltIn'true' | 'false'
Include the built-in tools (default true)
Response
The tools
Example response
{
"data": [
{
"name": "book_appointment",
"inputs": [
{
"name": "date",
"description": "ISO date"
}
],
"runtime": {
"request": {
"url": "https://api.example.com/bookings",
"headers": [
{
"name": "X-Api-Version",
"value": "2026-10-01"
}
]
}
}
}
]
}Changes
- info
endpoint added
- info