Skip to content

Commit fe80b2f

Browse files
committed
sync customer context discovery contract
1 parent a834b30 commit fe80b2f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@outlit/tools": patch
3+
---
4+
5+
Clarify that customer-context search returns discovery previews and that callers should fetch the canonical source for complete contents.

packages/tools/src/contracts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ export const customerToolContracts = {
610610
toolName: "outlit_search_customer_context",
611611
title: "Search Customer Context",
612612
description:
613-
"Search across all known customer context using a natural-language query. Returns grouped artifact-level results for matching sources and facts. Omit customer to search across all customers in the organization.",
613+
"Search across all known customer context using a natural-language query. Returns ranked artifact-level discovery previews with at most two matching excerpts per source or fact. Use outlit_get_source with a returned sourceType and sourceId when you need the canonical source contents. Omit customer to search across all customers in the organization.",
614614
inputSchema: {
615615
$schema: "https://json-schema.org/draft/2020-12/schema",
616616
type: "object",
@@ -915,7 +915,7 @@ export const workspaceUserListOrderFields = ["name", "email", "owned_customer_co
915915
export const schemaTables = ["activity", "customers", "users", "revenue"] as const
916916

917917
export const customerToolContractHash =
918-
"fae5d47c73e2401362019f27f85925d36d3d87485611af0753f4a3bee2b002ae" as const
918+
"c199a02b390230741eff09d4f1463d10cad7ce44f82aab3632410fe0336ab61e" as const
919919

920920
export type CustomerToolName = (typeof customerToolNames)[number]
921921
export type CustomerSourceType = (typeof customerSourceTypes)[number]

0 commit comments

Comments
 (0)