m365connector 0.3.2 → 0.3.3
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/package.json +1 -1
- package/src/tools/search.js +5 -1
package/package.json
CHANGED
package/src/tools/search.js
CHANGED
|
@@ -61,6 +61,10 @@ const OPEN_TOOL = {
|
|
|
61
61
|
read_handle: {
|
|
62
62
|
type: "string",
|
|
63
63
|
description: "Opaque read handle from search result"
|
|
64
|
+
},
|
|
65
|
+
fullContent: {
|
|
66
|
+
type: "boolean",
|
|
67
|
+
description: "When true, attempt full document extraction via Office Online deep-link with scroll (slower, opens browser tab). Default: false."
|
|
64
68
|
}
|
|
65
69
|
},
|
|
66
70
|
required: ["read_handle", "conversation_id"]
|
|
@@ -328,7 +332,7 @@ export function registerTools(registry, context) {
|
|
|
328
332
|
|
|
329
333
|
const wsResult = await context.ws.sendRequest(
|
|
330
334
|
"open",
|
|
331
|
-
{ conversation_id: conversationId, context: readContext },
|
|
335
|
+
{ conversation_id: conversationId, context: readContext, fullContent: Boolean(args.fullContent) },
|
|
332
336
|
{ timeoutMs: 60000 }
|
|
333
337
|
);
|
|
334
338
|
|