@sonzai-labs/agents 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1915,6 +1915,17 @@ interface AgentKBSearchResponse {
1915
1915
  query: string;
1916
1916
  results: AgentKBSearchResult[];
1917
1917
  }
1918
+ /** Describes a single tool available for an agent (BYO-LLM integrations). */
1919
+ interface ToolSchema {
1920
+ name: string;
1921
+ description: string;
1922
+ endpoint: string;
1923
+ parameters?: Record<string, unknown>;
1924
+ }
1925
+ /** Response from the getTools endpoint. */
1926
+ interface ToolSchemasResponse {
1927
+ tools: ToolSchema[];
1928
+ }
1918
1929
 
1919
1930
  /** Custom state operations for agents. */
1920
1931
  declare class CustomStates {
@@ -2312,6 +2323,8 @@ declare class Agents {
2312
2323
  getTimeMachine(agentId: string, options: TimeMachineOptions): Promise<TimeMachineResponse>;
2313
2324
  /** Search the knowledge base for an agent. */
2314
2325
  knowledgeSearch(agentId: string, options: AgentKBSearchOptions): Promise<AgentKBSearchResponse>;
2326
+ /** Get tool schemas available for an agent (for BYO-LLM integrations). */
2327
+ getTools(agentId: string): Promise<ToolSchemasResponse>;
2315
2328
  private buildChatBody;
2316
2329
  }
2317
2330
 
@@ -2552,4 +2565,4 @@ declare class StreamError extends SonzaiError {
2552
2565
  constructor(message: string);
2553
2566
  }
2554
2567
 
2555
- export { APIError, type AcknowledgeAllOptions, type AcknowledgeNotificationsOptions, type AcknowledgeResponse, type AddContentOptions, type AddContentResponse, type Agent, type AgentCapabilities, type AgentIndex, type AgentInstance, type AgentKBSearchOptions, type AgentKBSearchResponse, type AgentKBSearchResult, type AgentListOptions, type AgentListResponse, type AgentToolCapabilities, type AtomicFact, AuthenticationError, BadRequestError, type BatchImportOptions, type BatchImportResponse, type BatchImportUser, type BatchPersonalityEntry, type BatchPersonalityResponse, type Big5, type Big5Scores, type Big5Trait, type BreakthroughsResponse, type ChatChoice, type ChatMessage, type ChatOptions, type ChatResponse, type ChatStreamEvent, type ChatUsage, type ConsolidateOptions, type ConsolidateResponse, type ConstellationResponse, type ContextDataOptions, type CreateAgentOptions, type CreateAnalyticsRuleOptions, type CreateCustomToolOptions, type CreateGoalOptions, type CreateSchemaOptions, type CustomLLMConfigResponse, type CustomState, type CustomStateCreateOptions, type CustomStateDeleteByKeyOptions, type CustomStateGetByKeyOptions, type CustomStateListOptions, type CustomStateListResponse, type CustomStateUpdateOptions, type CustomStateUpsertOptions, type CustomToolDefinition, type CustomToolListResponse, type DeleteGoalOptions, type DeliveryAttemptsResponse, type DialogueOptions, type DialogueResponse, type DiaryResponse, type EnrichedContextResponse, type EvalCategory, type EvalOnlyOptions, type EvalRun, type EvalRunListOptions, type EvalRunListResponse, type EvalTemplate, type EvalTemplateCategory, type EvalTemplateCreateOptions, type EvalTemplateListResponse, type EvalTemplateUpdateOptions, type EvaluateOptions, type EvaluationResult, type ExtractionDimensionDelta, type ExtractionFact, type ExtractionHabit, type ExtractionInnerThoughts, type ExtractionInterest, type ExtractionMoodDelta, type ExtractionPersonalityDelta, type ExtractionProactive, type ExtractionRecurring, type ExtractionRelationshipDelta, type Fact, type FactHistoryResponse, type FactListOptions, type FactListResponse, type GenerateAvatarOptions, type GenerateAvatarResponse, type GenerateBioOptions, type GenerateBioResponse, type GenerateCharacterOptions, type GenerateCharacterResponse, type GenerateSeedMemoriesOptions, type GenerateSeedMemoriesResponse, type GeneratedGoal, type GetContextOptions, type Goal, type GoalPriority, type GoalStatus, type GoalType, type GoalsResponse, type HabitsResponse, type IdentityMemory, type ImageGenerateOptions, type ImageGenerateResponse, type ImportJob, type ImportJobListResponse, type InitialGoal, type InsertFactDetail, type InsertFactEntry, type InsertFactsOptions, type InsertFactsResponse, type InsertRelEntry, type InstanceCreateOptions, type InstanceListResponse, type InterestsResponse, InternalServerError, type InventoryBatchImportOptions, type InventoryBatchImportResponse, type InventoryBatchItem, type InventoryDirectUpdateOptions, type InventoryDirectUpdateResponse, type InventoryGroupResult, type InventoryItem, type InventoryQueryOptions, type InventoryQueryResponse, type InventoryUpdateOptions, type InventoryUpdateResponse, type KBAnalyticsRule, type KBAnalyticsRuleListResponse, type KBBulkUpdateEntry, type KBBulkUpdateOptions, type KBBulkUpdateResponse, type KBCandidate, type KBConversionStats, type KBConversionsResponse, type KBDocument, type KBDocumentListResponse, type KBEdge, type KBEntitySchema, type KBNode, type KBNodeDetailResponse, type KBNodeHistory, type KBNodeHistoryResponse, type KBNodeListResponse, type KBRecommendationScore, type KBRecommendationsResponse, type KBRelatedNode, type KBResolutionInfo, type KBSchemaField, type KBSchemaListResponse, type KBSearchOptions, type KBSearchResponse, type KBSearchResult, type KBSimilarityConfig, type KBStats, type KBTrendAggregation, type KBTrendRanking, type KBTrendRankingsResponse, type KBTrendsResponse, type ListAllFactsOptions, type ListAllFactsResponse, type LoreGenerationContext, type MemoryListOptions, type MemoryNode, type MemoryResetOptions, type MemoryResetResponse, type MemoryResponse, type MemorySearchOptions, type MemorySearchResponse, type MemorySearchResult, type MemorySummary, type MemoryTimelineOptions, type MemoryTimelineResponse, type ModelsProviderEntry, type ModelsResponse, type MoodAggregateResponse, type MoodResponse, NotFoundError, type Notification, type NotificationListOptions, type NotificationListResponse, PermissionDeniedError, type PersonalityBehaviors, type PersonalityDelta, type PersonalityDimensions, type PersonalityGetOptions, type PersonalityPreferences, type PersonalityProfile, type PersonalityResponse, type PersonalityShift, type PersonalityUpdateOptions, type PersonalityUpdateResponse, type PrimeContentBlock, type PrimeUserMetadata, type PrimeUserOptions, type PrimeUserResponse, type ProcessOptions, type ProcessResponse, type ProcessSideEffectsSummary, type ProjectConfigEntry, type ProjectConfigListResponse, type ProjectNotificationListOptions, type ProjectNotificationListResponse, RateLimitError, type RecentShiftsResponse, type RecordFeedbackOptions, type RelationshipResponse, type RunEvalOptions, type RunRef, type SDKBehavioralTraits, type SDKInteractionPreferences, type SDKPersonalityDimensions, type STTOptions, type STTResponse, type ScheduleWakeupOptions, type ScheduledWakeup, type SeedMemoriesOptions, type SeedMemoriesResponse, type SeedMemory, type SessionEndOptions, type SessionResponse, type SessionStartOptions, type SetConfigOptions, type SetCustomLLMOptions, type SetSessionToolsOptions, type SetStatusOptions, type SetStatusResponse, type SideEffectExtraction, type SignificantMoment, type SignificantMomentsResponse, type SimulateOptions, type SimulationConfig, type SimulationEvent, type SimulationSession, Sonzai, type SonzaiConfig, SonzaiError, type StoredFact, StreamError, type StructuredColumnMapping, type StructuredImportSpec, type SummariesOptions, type SummariesResponse, type TTSOptions, type TTSResponse, type TimeMachineMoodSnapshot, type TimeMachineOptions, type TimeMachineResponse, type TimelineSession, type ToolDefinition, type TriggerEventOptions, type TriggerEventResponse, type UpdateAgentOptions, type UpdateAnalyticsRuleOptions, type UpdateCapabilitiesOptions, type UpdateCustomToolOptions, type UpdateGoalOptions, type UpdateInstanceOptions, type UpdateMetadataOptions, type UpdateMetadataResponse, type UpdateProjectOptions, type UpdateProjectResponse, type UserOverlayDetailResponse, type UserOverlayOptions, type UserOverlaysListResponse, type UserPersona, type UserPersonalityOverlay, type UserPrimingMetadata, type UsersResponse, type VoiceEntry, type VoiceListOptions, type VoiceListResponse, type VoiceStreamEvent, VoiceStreamInstance, type VoiceStreamToken, type VoiceTokenOptions, type VoiceUsage, type WakeupsResponse, type WebhookDeliveryAttempt, type WebhookEndpoint, type WebhookListResponse, type WebhookRegisterOptions, type WebhookRegisterResponse };
2568
+ export { APIError, type AcknowledgeAllOptions, type AcknowledgeNotificationsOptions, type AcknowledgeResponse, type AddContentOptions, type AddContentResponse, type Agent, type AgentCapabilities, type AgentIndex, type AgentInstance, type AgentKBSearchOptions, type AgentKBSearchResponse, type AgentKBSearchResult, type AgentListOptions, type AgentListResponse, type AgentToolCapabilities, type AtomicFact, AuthenticationError, BadRequestError, type BatchImportOptions, type BatchImportResponse, type BatchImportUser, type BatchPersonalityEntry, type BatchPersonalityResponse, type Big5, type Big5Scores, type Big5Trait, type BreakthroughsResponse, type ChatChoice, type ChatMessage, type ChatOptions, type ChatResponse, type ChatStreamEvent, type ChatUsage, type ConsolidateOptions, type ConsolidateResponse, type ConstellationResponse, type ContextDataOptions, type CreateAgentOptions, type CreateAnalyticsRuleOptions, type CreateCustomToolOptions, type CreateGoalOptions, type CreateSchemaOptions, type CustomLLMConfigResponse, type CustomState, type CustomStateCreateOptions, type CustomStateDeleteByKeyOptions, type CustomStateGetByKeyOptions, type CustomStateListOptions, type CustomStateListResponse, type CustomStateUpdateOptions, type CustomStateUpsertOptions, type CustomToolDefinition, type CustomToolListResponse, type DeleteGoalOptions, type DeliveryAttemptsResponse, type DialogueOptions, type DialogueResponse, type DiaryResponse, type EnrichedContextResponse, type EvalCategory, type EvalOnlyOptions, type EvalRun, type EvalRunListOptions, type EvalRunListResponse, type EvalTemplate, type EvalTemplateCategory, type EvalTemplateCreateOptions, type EvalTemplateListResponse, type EvalTemplateUpdateOptions, type EvaluateOptions, type EvaluationResult, type ExtractionDimensionDelta, type ExtractionFact, type ExtractionHabit, type ExtractionInnerThoughts, type ExtractionInterest, type ExtractionMoodDelta, type ExtractionPersonalityDelta, type ExtractionProactive, type ExtractionRecurring, type ExtractionRelationshipDelta, type Fact, type FactHistoryResponse, type FactListOptions, type FactListResponse, type GenerateAvatarOptions, type GenerateAvatarResponse, type GenerateBioOptions, type GenerateBioResponse, type GenerateCharacterOptions, type GenerateCharacterResponse, type GenerateSeedMemoriesOptions, type GenerateSeedMemoriesResponse, type GeneratedGoal, type GetContextOptions, type Goal, type GoalPriority, type GoalStatus, type GoalType, type GoalsResponse, type HabitsResponse, type IdentityMemory, type ImageGenerateOptions, type ImageGenerateResponse, type ImportJob, type ImportJobListResponse, type InitialGoal, type InsertFactDetail, type InsertFactEntry, type InsertFactsOptions, type InsertFactsResponse, type InsertRelEntry, type InstanceCreateOptions, type InstanceListResponse, type InterestsResponse, InternalServerError, type InventoryBatchImportOptions, type InventoryBatchImportResponse, type InventoryBatchItem, type InventoryDirectUpdateOptions, type InventoryDirectUpdateResponse, type InventoryGroupResult, type InventoryItem, type InventoryQueryOptions, type InventoryQueryResponse, type InventoryUpdateOptions, type InventoryUpdateResponse, type KBAnalyticsRule, type KBAnalyticsRuleListResponse, type KBBulkUpdateEntry, type KBBulkUpdateOptions, type KBBulkUpdateResponse, type KBCandidate, type KBConversionStats, type KBConversionsResponse, type KBDocument, type KBDocumentListResponse, type KBEdge, type KBEntitySchema, type KBNode, type KBNodeDetailResponse, type KBNodeHistory, type KBNodeHistoryResponse, type KBNodeListResponse, type KBRecommendationScore, type KBRecommendationsResponse, type KBRelatedNode, type KBResolutionInfo, type KBSchemaField, type KBSchemaListResponse, type KBSearchOptions, type KBSearchResponse, type KBSearchResult, type KBSimilarityConfig, type KBStats, type KBTrendAggregation, type KBTrendRanking, type KBTrendRankingsResponse, type KBTrendsResponse, type ListAllFactsOptions, type ListAllFactsResponse, type LoreGenerationContext, type MemoryListOptions, type MemoryNode, type MemoryResetOptions, type MemoryResetResponse, type MemoryResponse, type MemorySearchOptions, type MemorySearchResponse, type MemorySearchResult, type MemorySummary, type MemoryTimelineOptions, type MemoryTimelineResponse, type ModelsProviderEntry, type ModelsResponse, type MoodAggregateResponse, type MoodResponse, NotFoundError, type Notification, type NotificationListOptions, type NotificationListResponse, PermissionDeniedError, type PersonalityBehaviors, type PersonalityDelta, type PersonalityDimensions, type PersonalityGetOptions, type PersonalityPreferences, type PersonalityProfile, type PersonalityResponse, type PersonalityShift, type PersonalityUpdateOptions, type PersonalityUpdateResponse, type PrimeContentBlock, type PrimeUserMetadata, type PrimeUserOptions, type PrimeUserResponse, type ProcessOptions, type ProcessResponse, type ProcessSideEffectsSummary, type ProjectConfigEntry, type ProjectConfigListResponse, type ProjectNotificationListOptions, type ProjectNotificationListResponse, RateLimitError, type RecentShiftsResponse, type RecordFeedbackOptions, type RelationshipResponse, type RunEvalOptions, type RunRef, type SDKBehavioralTraits, type SDKInteractionPreferences, type SDKPersonalityDimensions, type STTOptions, type STTResponse, type ScheduleWakeupOptions, type ScheduledWakeup, type SeedMemoriesOptions, type SeedMemoriesResponse, type SeedMemory, type SessionEndOptions, type SessionResponse, type SessionStartOptions, type SetConfigOptions, type SetCustomLLMOptions, type SetSessionToolsOptions, type SetStatusOptions, type SetStatusResponse, type SideEffectExtraction, type SignificantMoment, type SignificantMomentsResponse, type SimulateOptions, type SimulationConfig, type SimulationEvent, type SimulationSession, Sonzai, type SonzaiConfig, SonzaiError, type StoredFact, StreamError, type StructuredColumnMapping, type StructuredImportSpec, type SummariesOptions, type SummariesResponse, type TTSOptions, type TTSResponse, type TimeMachineMoodSnapshot, type TimeMachineOptions, type TimeMachineResponse, type TimelineSession, type ToolDefinition, type ToolSchema, type ToolSchemasResponse, type TriggerEventOptions, type TriggerEventResponse, type UpdateAgentOptions, type UpdateAnalyticsRuleOptions, type UpdateCapabilitiesOptions, type UpdateCustomToolOptions, type UpdateGoalOptions, type UpdateInstanceOptions, type UpdateMetadataOptions, type UpdateMetadataResponse, type UpdateProjectOptions, type UpdateProjectResponse, type UserOverlayDetailResponse, type UserOverlayOptions, type UserOverlaysListResponse, type UserPersona, type UserPersonalityOverlay, type UserPrimingMetadata, type UsersResponse, type VoiceEntry, type VoiceListOptions, type VoiceListResponse, type VoiceStreamEvent, VoiceStreamInstance, type VoiceStreamToken, type VoiceTokenOptions, type VoiceUsage, type WakeupsResponse, type WebhookDeliveryAttempt, type WebhookEndpoint, type WebhookListResponse, type WebhookRegisterOptions, type WebhookRegisterResponse };
package/dist/index.d.ts CHANGED
@@ -1915,6 +1915,17 @@ interface AgentKBSearchResponse {
1915
1915
  query: string;
1916
1916
  results: AgentKBSearchResult[];
1917
1917
  }
1918
+ /** Describes a single tool available for an agent (BYO-LLM integrations). */
1919
+ interface ToolSchema {
1920
+ name: string;
1921
+ description: string;
1922
+ endpoint: string;
1923
+ parameters?: Record<string, unknown>;
1924
+ }
1925
+ /** Response from the getTools endpoint. */
1926
+ interface ToolSchemasResponse {
1927
+ tools: ToolSchema[];
1928
+ }
1918
1929
 
1919
1930
  /** Custom state operations for agents. */
1920
1931
  declare class CustomStates {
@@ -2312,6 +2323,8 @@ declare class Agents {
2312
2323
  getTimeMachine(agentId: string, options: TimeMachineOptions): Promise<TimeMachineResponse>;
2313
2324
  /** Search the knowledge base for an agent. */
2314
2325
  knowledgeSearch(agentId: string, options: AgentKBSearchOptions): Promise<AgentKBSearchResponse>;
2326
+ /** Get tool schemas available for an agent (for BYO-LLM integrations). */
2327
+ getTools(agentId: string): Promise<ToolSchemasResponse>;
2315
2328
  private buildChatBody;
2316
2329
  }
2317
2330
 
@@ -2552,4 +2565,4 @@ declare class StreamError extends SonzaiError {
2552
2565
  constructor(message: string);
2553
2566
  }
2554
2567
 
2555
- export { APIError, type AcknowledgeAllOptions, type AcknowledgeNotificationsOptions, type AcknowledgeResponse, type AddContentOptions, type AddContentResponse, type Agent, type AgentCapabilities, type AgentIndex, type AgentInstance, type AgentKBSearchOptions, type AgentKBSearchResponse, type AgentKBSearchResult, type AgentListOptions, type AgentListResponse, type AgentToolCapabilities, type AtomicFact, AuthenticationError, BadRequestError, type BatchImportOptions, type BatchImportResponse, type BatchImportUser, type BatchPersonalityEntry, type BatchPersonalityResponse, type Big5, type Big5Scores, type Big5Trait, type BreakthroughsResponse, type ChatChoice, type ChatMessage, type ChatOptions, type ChatResponse, type ChatStreamEvent, type ChatUsage, type ConsolidateOptions, type ConsolidateResponse, type ConstellationResponse, type ContextDataOptions, type CreateAgentOptions, type CreateAnalyticsRuleOptions, type CreateCustomToolOptions, type CreateGoalOptions, type CreateSchemaOptions, type CustomLLMConfigResponse, type CustomState, type CustomStateCreateOptions, type CustomStateDeleteByKeyOptions, type CustomStateGetByKeyOptions, type CustomStateListOptions, type CustomStateListResponse, type CustomStateUpdateOptions, type CustomStateUpsertOptions, type CustomToolDefinition, type CustomToolListResponse, type DeleteGoalOptions, type DeliveryAttemptsResponse, type DialogueOptions, type DialogueResponse, type DiaryResponse, type EnrichedContextResponse, type EvalCategory, type EvalOnlyOptions, type EvalRun, type EvalRunListOptions, type EvalRunListResponse, type EvalTemplate, type EvalTemplateCategory, type EvalTemplateCreateOptions, type EvalTemplateListResponse, type EvalTemplateUpdateOptions, type EvaluateOptions, type EvaluationResult, type ExtractionDimensionDelta, type ExtractionFact, type ExtractionHabit, type ExtractionInnerThoughts, type ExtractionInterest, type ExtractionMoodDelta, type ExtractionPersonalityDelta, type ExtractionProactive, type ExtractionRecurring, type ExtractionRelationshipDelta, type Fact, type FactHistoryResponse, type FactListOptions, type FactListResponse, type GenerateAvatarOptions, type GenerateAvatarResponse, type GenerateBioOptions, type GenerateBioResponse, type GenerateCharacterOptions, type GenerateCharacterResponse, type GenerateSeedMemoriesOptions, type GenerateSeedMemoriesResponse, type GeneratedGoal, type GetContextOptions, type Goal, type GoalPriority, type GoalStatus, type GoalType, type GoalsResponse, type HabitsResponse, type IdentityMemory, type ImageGenerateOptions, type ImageGenerateResponse, type ImportJob, type ImportJobListResponse, type InitialGoal, type InsertFactDetail, type InsertFactEntry, type InsertFactsOptions, type InsertFactsResponse, type InsertRelEntry, type InstanceCreateOptions, type InstanceListResponse, type InterestsResponse, InternalServerError, type InventoryBatchImportOptions, type InventoryBatchImportResponse, type InventoryBatchItem, type InventoryDirectUpdateOptions, type InventoryDirectUpdateResponse, type InventoryGroupResult, type InventoryItem, type InventoryQueryOptions, type InventoryQueryResponse, type InventoryUpdateOptions, type InventoryUpdateResponse, type KBAnalyticsRule, type KBAnalyticsRuleListResponse, type KBBulkUpdateEntry, type KBBulkUpdateOptions, type KBBulkUpdateResponse, type KBCandidate, type KBConversionStats, type KBConversionsResponse, type KBDocument, type KBDocumentListResponse, type KBEdge, type KBEntitySchema, type KBNode, type KBNodeDetailResponse, type KBNodeHistory, type KBNodeHistoryResponse, type KBNodeListResponse, type KBRecommendationScore, type KBRecommendationsResponse, type KBRelatedNode, type KBResolutionInfo, type KBSchemaField, type KBSchemaListResponse, type KBSearchOptions, type KBSearchResponse, type KBSearchResult, type KBSimilarityConfig, type KBStats, type KBTrendAggregation, type KBTrendRanking, type KBTrendRankingsResponse, type KBTrendsResponse, type ListAllFactsOptions, type ListAllFactsResponse, type LoreGenerationContext, type MemoryListOptions, type MemoryNode, type MemoryResetOptions, type MemoryResetResponse, type MemoryResponse, type MemorySearchOptions, type MemorySearchResponse, type MemorySearchResult, type MemorySummary, type MemoryTimelineOptions, type MemoryTimelineResponse, type ModelsProviderEntry, type ModelsResponse, type MoodAggregateResponse, type MoodResponse, NotFoundError, type Notification, type NotificationListOptions, type NotificationListResponse, PermissionDeniedError, type PersonalityBehaviors, type PersonalityDelta, type PersonalityDimensions, type PersonalityGetOptions, type PersonalityPreferences, type PersonalityProfile, type PersonalityResponse, type PersonalityShift, type PersonalityUpdateOptions, type PersonalityUpdateResponse, type PrimeContentBlock, type PrimeUserMetadata, type PrimeUserOptions, type PrimeUserResponse, type ProcessOptions, type ProcessResponse, type ProcessSideEffectsSummary, type ProjectConfigEntry, type ProjectConfigListResponse, type ProjectNotificationListOptions, type ProjectNotificationListResponse, RateLimitError, type RecentShiftsResponse, type RecordFeedbackOptions, type RelationshipResponse, type RunEvalOptions, type RunRef, type SDKBehavioralTraits, type SDKInteractionPreferences, type SDKPersonalityDimensions, type STTOptions, type STTResponse, type ScheduleWakeupOptions, type ScheduledWakeup, type SeedMemoriesOptions, type SeedMemoriesResponse, type SeedMemory, type SessionEndOptions, type SessionResponse, type SessionStartOptions, type SetConfigOptions, type SetCustomLLMOptions, type SetSessionToolsOptions, type SetStatusOptions, type SetStatusResponse, type SideEffectExtraction, type SignificantMoment, type SignificantMomentsResponse, type SimulateOptions, type SimulationConfig, type SimulationEvent, type SimulationSession, Sonzai, type SonzaiConfig, SonzaiError, type StoredFact, StreamError, type StructuredColumnMapping, type StructuredImportSpec, type SummariesOptions, type SummariesResponse, type TTSOptions, type TTSResponse, type TimeMachineMoodSnapshot, type TimeMachineOptions, type TimeMachineResponse, type TimelineSession, type ToolDefinition, type TriggerEventOptions, type TriggerEventResponse, type UpdateAgentOptions, type UpdateAnalyticsRuleOptions, type UpdateCapabilitiesOptions, type UpdateCustomToolOptions, type UpdateGoalOptions, type UpdateInstanceOptions, type UpdateMetadataOptions, type UpdateMetadataResponse, type UpdateProjectOptions, type UpdateProjectResponse, type UserOverlayDetailResponse, type UserOverlayOptions, type UserOverlaysListResponse, type UserPersona, type UserPersonalityOverlay, type UserPrimingMetadata, type UsersResponse, type VoiceEntry, type VoiceListOptions, type VoiceListResponse, type VoiceStreamEvent, VoiceStreamInstance, type VoiceStreamToken, type VoiceTokenOptions, type VoiceUsage, type WakeupsResponse, type WebhookDeliveryAttempt, type WebhookEndpoint, type WebhookListResponse, type WebhookRegisterOptions, type WebhookRegisterResponse };
2568
+ export { APIError, type AcknowledgeAllOptions, type AcknowledgeNotificationsOptions, type AcknowledgeResponse, type AddContentOptions, type AddContentResponse, type Agent, type AgentCapabilities, type AgentIndex, type AgentInstance, type AgentKBSearchOptions, type AgentKBSearchResponse, type AgentKBSearchResult, type AgentListOptions, type AgentListResponse, type AgentToolCapabilities, type AtomicFact, AuthenticationError, BadRequestError, type BatchImportOptions, type BatchImportResponse, type BatchImportUser, type BatchPersonalityEntry, type BatchPersonalityResponse, type Big5, type Big5Scores, type Big5Trait, type BreakthroughsResponse, type ChatChoice, type ChatMessage, type ChatOptions, type ChatResponse, type ChatStreamEvent, type ChatUsage, type ConsolidateOptions, type ConsolidateResponse, type ConstellationResponse, type ContextDataOptions, type CreateAgentOptions, type CreateAnalyticsRuleOptions, type CreateCustomToolOptions, type CreateGoalOptions, type CreateSchemaOptions, type CustomLLMConfigResponse, type CustomState, type CustomStateCreateOptions, type CustomStateDeleteByKeyOptions, type CustomStateGetByKeyOptions, type CustomStateListOptions, type CustomStateListResponse, type CustomStateUpdateOptions, type CustomStateUpsertOptions, type CustomToolDefinition, type CustomToolListResponse, type DeleteGoalOptions, type DeliveryAttemptsResponse, type DialogueOptions, type DialogueResponse, type DiaryResponse, type EnrichedContextResponse, type EvalCategory, type EvalOnlyOptions, type EvalRun, type EvalRunListOptions, type EvalRunListResponse, type EvalTemplate, type EvalTemplateCategory, type EvalTemplateCreateOptions, type EvalTemplateListResponse, type EvalTemplateUpdateOptions, type EvaluateOptions, type EvaluationResult, type ExtractionDimensionDelta, type ExtractionFact, type ExtractionHabit, type ExtractionInnerThoughts, type ExtractionInterest, type ExtractionMoodDelta, type ExtractionPersonalityDelta, type ExtractionProactive, type ExtractionRecurring, type ExtractionRelationshipDelta, type Fact, type FactHistoryResponse, type FactListOptions, type FactListResponse, type GenerateAvatarOptions, type GenerateAvatarResponse, type GenerateBioOptions, type GenerateBioResponse, type GenerateCharacterOptions, type GenerateCharacterResponse, type GenerateSeedMemoriesOptions, type GenerateSeedMemoriesResponse, type GeneratedGoal, type GetContextOptions, type Goal, type GoalPriority, type GoalStatus, type GoalType, type GoalsResponse, type HabitsResponse, type IdentityMemory, type ImageGenerateOptions, type ImageGenerateResponse, type ImportJob, type ImportJobListResponse, type InitialGoal, type InsertFactDetail, type InsertFactEntry, type InsertFactsOptions, type InsertFactsResponse, type InsertRelEntry, type InstanceCreateOptions, type InstanceListResponse, type InterestsResponse, InternalServerError, type InventoryBatchImportOptions, type InventoryBatchImportResponse, type InventoryBatchItem, type InventoryDirectUpdateOptions, type InventoryDirectUpdateResponse, type InventoryGroupResult, type InventoryItem, type InventoryQueryOptions, type InventoryQueryResponse, type InventoryUpdateOptions, type InventoryUpdateResponse, type KBAnalyticsRule, type KBAnalyticsRuleListResponse, type KBBulkUpdateEntry, type KBBulkUpdateOptions, type KBBulkUpdateResponse, type KBCandidate, type KBConversionStats, type KBConversionsResponse, type KBDocument, type KBDocumentListResponse, type KBEdge, type KBEntitySchema, type KBNode, type KBNodeDetailResponse, type KBNodeHistory, type KBNodeHistoryResponse, type KBNodeListResponse, type KBRecommendationScore, type KBRecommendationsResponse, type KBRelatedNode, type KBResolutionInfo, type KBSchemaField, type KBSchemaListResponse, type KBSearchOptions, type KBSearchResponse, type KBSearchResult, type KBSimilarityConfig, type KBStats, type KBTrendAggregation, type KBTrendRanking, type KBTrendRankingsResponse, type KBTrendsResponse, type ListAllFactsOptions, type ListAllFactsResponse, type LoreGenerationContext, type MemoryListOptions, type MemoryNode, type MemoryResetOptions, type MemoryResetResponse, type MemoryResponse, type MemorySearchOptions, type MemorySearchResponse, type MemorySearchResult, type MemorySummary, type MemoryTimelineOptions, type MemoryTimelineResponse, type ModelsProviderEntry, type ModelsResponse, type MoodAggregateResponse, type MoodResponse, NotFoundError, type Notification, type NotificationListOptions, type NotificationListResponse, PermissionDeniedError, type PersonalityBehaviors, type PersonalityDelta, type PersonalityDimensions, type PersonalityGetOptions, type PersonalityPreferences, type PersonalityProfile, type PersonalityResponse, type PersonalityShift, type PersonalityUpdateOptions, type PersonalityUpdateResponse, type PrimeContentBlock, type PrimeUserMetadata, type PrimeUserOptions, type PrimeUserResponse, type ProcessOptions, type ProcessResponse, type ProcessSideEffectsSummary, type ProjectConfigEntry, type ProjectConfigListResponse, type ProjectNotificationListOptions, type ProjectNotificationListResponse, RateLimitError, type RecentShiftsResponse, type RecordFeedbackOptions, type RelationshipResponse, type RunEvalOptions, type RunRef, type SDKBehavioralTraits, type SDKInteractionPreferences, type SDKPersonalityDimensions, type STTOptions, type STTResponse, type ScheduleWakeupOptions, type ScheduledWakeup, type SeedMemoriesOptions, type SeedMemoriesResponse, type SeedMemory, type SessionEndOptions, type SessionResponse, type SessionStartOptions, type SetConfigOptions, type SetCustomLLMOptions, type SetSessionToolsOptions, type SetStatusOptions, type SetStatusResponse, type SideEffectExtraction, type SignificantMoment, type SignificantMomentsResponse, type SimulateOptions, type SimulationConfig, type SimulationEvent, type SimulationSession, Sonzai, type SonzaiConfig, SonzaiError, type StoredFact, StreamError, type StructuredColumnMapping, type StructuredImportSpec, type SummariesOptions, type SummariesResponse, type TTSOptions, type TTSResponse, type TimeMachineMoodSnapshot, type TimeMachineOptions, type TimeMachineResponse, type TimelineSession, type ToolDefinition, type ToolSchema, type ToolSchemasResponse, type TriggerEventOptions, type TriggerEventResponse, type UpdateAgentOptions, type UpdateAnalyticsRuleOptions, type UpdateCapabilitiesOptions, type UpdateCustomToolOptions, type UpdateGoalOptions, type UpdateInstanceOptions, type UpdateMetadataOptions, type UpdateMetadataResponse, type UpdateProjectOptions, type UpdateProjectResponse, type UserOverlayDetailResponse, type UserOverlayOptions, type UserOverlaysListResponse, type UserPersona, type UserPersonalityOverlay, type UserPrimingMetadata, type UsersResponse, type VoiceEntry, type VoiceListOptions, type VoiceListResponse, type VoiceStreamEvent, VoiceStreamInstance, type VoiceStreamToken, type VoiceTokenOptions, type VoiceUsage, type WakeupsResponse, type WebhookDeliveryAttempt, type WebhookEndpoint, type WebhookListResponse, type WebhookRegisterOptions, type WebhookRegisterResponse };
package/dist/index.js CHANGED
@@ -1590,10 +1590,18 @@ var Agents = class {
1590
1590
  const body = { query: options.query };
1591
1591
  if (options.limit != null) body.limit = options.limit;
1592
1592
  return this.http.post(
1593
- `/api/v1/agents/${agentId}/tools/knowledge-search`,
1593
+ `/api/v1/agents/${agentId}/tools/kb-search`,
1594
1594
  body
1595
1595
  );
1596
1596
  }
1597
+ // -- Tool Schemas (BYO-LLM) --
1598
+ /** Get tool schemas available for an agent (for BYO-LLM integrations). */
1599
+ async getTools(agentId) {
1600
+ requireNonEmpty(agentId, "agentId");
1601
+ return this.http.get(
1602
+ `/api/v1/agents/${agentId}/tools`
1603
+ );
1604
+ }
1597
1605
  buildChatBody(options) {
1598
1606
  const body = { messages: options.messages };
1599
1607
  if (options.userId) body.user_id = options.userId;