INNER CODE UNIT · TypeScript
getAgentSessionRoute
callstackincubator/rozenite · packages/agent-shared/src/index.ts:44
export const getAgentSessionRoute = (sessionId: string): string => {
return `${AGENT_SESSIONS_ROUTE}/${encodeURIComponent(sessionId)}`;
};
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[];