omnia-agent-api / src /tools /tools.controller.ts
github-actions
Deploy 04d496c from ilyasdaoudrma/omnia
b43bc6c
Raw History Blame Contribute Delete
324 Bytes
import { Controller, Get } from '@nestjs/common';
import { ToolsService } from './tools.service';
@Controller('tools')
export class ToolsController {
constructor(private readonly tools: ToolsService) {}
/** Public catalog of available agent tools. */
@Get()
list() {
return { tools: this.tools.list() };
}
}