summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/tools.ts
diff options
context:
space:
mode:
authorJacob Richman <[email protected]>2025-05-20 13:02:41 -0700
committerGitHub <[email protected]>2025-05-20 13:02:41 -0700
commit716f7875a2fe4cec5433f64651a7f50cce58a41e (patch)
treeb440d482e12bc7efb55a9a813a7c4f6b67e3a117 /packages/server/src/tools/tools.ts
parent4002e980d9e02e973e19226dbc25aeec00a65cf5 (diff)
Support Images and PDFs (#447)
Diffstat (limited to 'packages/server/src/tools/tools.ts')
-rw-r--r--packages/server/src/tools/tools.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/tools/tools.ts b/packages/server/src/tools/tools.ts
index de4bf287..329010bc 100644
--- a/packages/server/src/tools/tools.ts
+++ b/packages/server/src/tools/tools.ts
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { FunctionDeclaration, Schema } from '@google/genai';
+import { FunctionDeclaration, PartListUnion, Schema } from '@google/genai';
/**
* Interface representing the base Tool functionality
@@ -152,7 +152,7 @@ export interface ToolResult {
* Content meant to be included in LLM history.
* This should represent the factual outcome of the tool execution.
*/
- llmContent: string;
+ llmContent: PartListUnion;
/**
* Markdown string for user display.