INNER CODE UNIT · TypeScript
getAgentSessionToolsRoute
callstackincubator/rozenite · packages/agent-shared/src/index.ts:48
export const getAgentSessionToolsRoute = (sessionId: string): string => {
return `${getAgentSessionRoute(sessionId)}/tools`;
};
export const getAgentSessionCallToolRoute = (sessionId: string): string => {
return `${getAgentSessionRoute(sessionId)}/call-tool`;
};
export const getAgentSessionTapRoute = (sessionId: string): string => {
return `${getAgentSessionRoute(sessionId)}/tap`;
};
export interface JSONSchema7 {
type?: string | string[];
properties?: Record<string, JSONSchema7>;
items?: JSONSchema7 | JSONSchema7[];
required?: string[];
enum?: unknown[];