mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-17 18:06:06 +00:00
feat(agent-runner): enforce 4.x host-owned execution
This commit is contained in:
@@ -982,8 +982,14 @@ export class BackendClient extends BaseHttpClient {
|
||||
);
|
||||
}
|
||||
|
||||
public getToolDetail(toolName: string): Promise<ApiRespToolDetail> {
|
||||
return this.get(`/api/v1/tools/${toolName}`);
|
||||
public getToolDetail(
|
||||
toolName: string,
|
||||
pipelineId?: string,
|
||||
): Promise<ApiRespToolDetail> {
|
||||
return this.get(
|
||||
`/api/v1/tools/${encodeURIComponent(toolName)}`,
|
||||
pipelineId ? { pipeline_uuid: pipelineId } : undefined,
|
||||
);
|
||||
}
|
||||
|
||||
public getMCPServer(serverName: string): Promise<ApiRespMCPServer> {
|
||||
|
||||
Reference in New Issue
Block a user