veryfront 0.1.663 → 0.1.665

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/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.663",
3
+ "version": "0.1.665",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "workspace": [
@@ -38,6 +38,7 @@ export type PrepareHostedChatRuntimeToolAssemblyInput<TTraceAttributes extends H
38
38
  mcpServers?: readonly AgentServiceMcpServerConfig[];
39
39
  conversationId?: string;
40
40
  allowedToolNames?: HostedChatRuntimeAllowedToolNames;
41
+ sourceProviderToolNames?: readonly string[];
41
42
  projectScopedRemoteToolOptions?: ProjectScopedRemoteToolOptions;
42
43
  createRemoteToolSource?: (config: RemoteMCPToolSourceConfig) => RemoteToolSource;
43
44
  traceLocalTools?: TraceHostToolsOptions<TTraceAttributes>;
@@ -1 +1 @@
1
- {"version":3,"file":"chat-runtime-tool-assembly.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/chat-runtime-tool-assembly.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAE5B,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,OAAO,EAEZ,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAEL,KAAK,4CAA4C,EACjD,KAAK,6CAA6C,EAClD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC9C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,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,GAAG,uBAAuB,EAE1E,KAAK,EAAE,yCAAyC,CAAC,gBAAgB,CAAC,GACjE,OAAO,CAAC,mCAAmC,CAAC,CA+E9C"}
@@ -54,7 +54,9 @@ export async function prepareHostedChatRuntimeToolAssembly(input) {
54
54
  projectId: activeProjectId(input.taskContext),
55
55
  projectScopedRemoteToolOptions: input.projectScopedRemoteToolOptions,
56
56
  });
57
- const providerToolNames = getProviderNativeToolNames({ model: input.taskContext.model }).filter((toolName) => allowedToolNames ? allowedToolNames.has(toolName) : false);
57
+ const sourceProviderToolNames = new Set(input.sourceProviderToolNames ?? []);
58
+ const providerToolNames = getProviderNativeToolNames({ model: input.taskContext.model }).filter((toolName) => sourceProviderToolNames.has(toolName) ||
59
+ (allowedToolNames ? allowedToolNames.has(toolName) : false));
58
60
  const localToolNames = Object.keys(localHostTools);
59
61
  const availableToolNames = selectProviderCompatibleToolNames([...new Set([...localToolNames, ...remoteToolNames, ...providerToolNames])].sort(), {
60
62
  model: input.taskContext.model,
@@ -1 +1 @@
1
- {"version":3,"file":"default-chat-runtime.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/default-chat-runtime.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAkB7B,OAAO,KAAK,EACV,gCAAgC,EAChC,+BAA+B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,mCAAmC,EAExC,KAAK,yCAAyC,EAC/C,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,KAAK,EACV,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,gCAAgC,CAAC;A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AO,CAAC;IAC5C,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC,CAAC;AAwJF,0CAA0C;AAC1C,wBAAsB,8BAA8B,CAClD,KAAK,EAAE,qCAAqC,GAC3C,OAAO,CAAC,+BAA+B,CAAC,CAsD1C"}
1
+ {"version":3,"file":"default-chat-runtime.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/default-chat-runtime.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAkB7B,OAAO,KAAK,EACV,gCAAgC,EAChC,+BAA+B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,mCAAmC,EAExC,KAAK,yCAAyC,EAC/C,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,KAAK,EACV,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,gCAAgC,CAAC;AAIxC,yDAAyD;AACzD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,SAAS,2BAA2B,EAAE,CAAC;CACrD,CAAC;AAEF,kEAAkE;AAClE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACjE,CAAC;AAEF,gEAAgE;AAChE,MAAM,MAAM,uCAAuC,GAC/C,gCAAgC,CAChC,8BA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A8D;AAC9D,MAAM,MAAM,qCAAqC,GAAG;IAClD,OAAO,EAAE,uCAAuC,CAAC;IACjD,MAAM,EAAE,8BAA8B,CAAC;IACvC,eAAe,EAAE,CAAC,WAAW,EAAE,mCAAmC,KAAK,WAAW,CAAC;IACnF,iBAAiB,CAAC,EAAE,CAClB,KAAK,EAAE,0CAA0C,KAC9C,mCAAmC,CAAC;IACzC,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,0CAA0C,KAC9C,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,CACnB,KAAK,EAAE,6CAA6C,KACjD,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,qBAAqB,CAAC,EAAE,CACtB,KAAK,EAAE,0CAA0C,KAC9C,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IAChC,8BAA8B,CAAC,EAC7B,yCAAyC,CAAC,gCAAgC,CAAC,CAAC;IAC9E,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,gBAAgB,CAAC;IACjF,eAAe,CAAC,EAAE,yCAAyC,CAAC,iBAAiB,CAAC,CAAC;IAC/E,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC,CAAC;AAyJF,0CAA0C;AAC1C,wBAAsB,8BAA8B,CAClD,KAAK,EAAE,qCAAqC,GAC3C,OAAO,CAAC,+BAA+B,CAAC,CAsD1C"}
@@ -36,6 +36,7 @@ async function buildToolAssembly(input) {
36
36
  mcpServers: input.config.mcpServers,
37
37
  conversationId: input.options.conversationId,
38
38
  allowedToolNames: input.options.allowedTools ?? null,
39
+ sourceProviderToolNames: input.options.liveProjectSteering?.agent.providerTools,
39
40
  projectScopedRemoteToolOptions: input.projectScopedRemoteToolOptions,
40
41
  createRemoteToolSource: input.createRemoteToolSource,
41
42
  traceLocalTools: input.traceLocalTools,
@@ -1 +1 @@
1
- {"version":3,"file":"default-project-steering-refresh.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/default-project-steering-refresh.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,0CAA0C,EAE3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAG3E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,uBAAuB,CAAC;AAEhF,8EAA8E;AAC9E,MAAM,MAAM,yCAAyC,GAAG;IACtD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CAClE,CAAC;AAEF,8EAA8E;AAC9E,MAAM,MAAM,yCAAyC,GAAG;IACtD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,wEAAwE;AACxE,MAAM,MAAM,oCAAoC,GAAG;IACjD,wBAAwB,EAAE,CACxB,MAAM,EAAE,yCAAyC,KAC9C,OAAO,CAAC,MAAM,CAAC,CAAC;IACrB,WAAW,EAAE,CACX,MAAM,EAAE,yCAAyC,KAC9C,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAAC;CACxC,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,gDAAgD,GACxD,oCAAoC,GACpC;IACA,iBAAiB,EAAE,CACjB,KAAK,EAAE,kCAAkC,CAAC,8BAA8B,CAAC,KACtE,MAAM,GAAG,iBAAiB,EAAE,CAAC;IAClC,8BAA8B,CAAC,EAAE,8BAA8B,CAAC;IAChE,MAAM,CAAC,EAAE,yCAAyC,CAAC;CACpD,CAAC;AAEJ,+DAA+D;AAC/D,MAAM,MAAM,sCAAsC,GAC9C,oCAAoC,GACpC;IACA,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,CAAC,OAAO,EACd,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,KAC9B,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEJ,oDAAoD;AACpD,wBAAsB,iCAAiC,CACrD,KAAK,EAAE,sCAAsC,GAC5C,OAAO,CAAC,oCAAoC,CAAC,CAmC/C;AAyED,sDAAsD;AACtD,wBAAgB,yCAAyC,CACvD,OAAO,EAAE,gDAAgD,GACxD,CAAC,KAAK,EAAE,0CAA0C,KAAK,OAAO,CAAC,MAAM,CAAC,CAwDxE"}
1
+ {"version":3,"file":"default-project-steering-refresh.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/default-project-steering-refresh.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,0CAA0C,EAE3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAG3E,OAAO,KAAK,EAAE,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AM,CAAC;CAC7B,CAAC;AAEJ,oDAAoD;AACpD,wBAAsB,iCAAiC,CACrD,KAAK,EAAE,sCAAsC,GAC5C,OAAO,CAAC,oCAAoC,CAAC,CAmC/C;AAyED,sDAAsD;AACtD,wBAAgB,yCAAyC,CACvD,OAAO,EAAE,gDAAgD,GACxD,CAAC,KAAK,EAAE,0CAA0C,KAAK,OAAO,CAAC,MAAM,CAAC,CA4DxE"}
@@ -112,7 +112,11 @@ export function createDefaultHostedProjectSteeringRefresh(options) {
112
112
  allowedSkillIds: input.taskContext.availableSkillIds,
113
113
  });
114
114
  const allToolNames = [
115
- ...new Set([...input.toolAssembly.localToolNames, ...remoteToolNames]),
115
+ ...new Set([
116
+ ...input.toolAssembly.localToolNames,
117
+ ...remoteToolNames,
118
+ ...input.toolAssembly.providerToolNames,
119
+ ]),
116
120
  ].sort();
117
121
  const toolNames = selectProviderCompatibleToolNames(allToolNames, {
118
122
  model: input.taskContext.model,
@@ -1 +1 @@
1
- {"version":3,"file":"model-tool-converter.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/model-tool-converter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAe9D,MAAM,WAAW,iCAAiC;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AA8BD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,cAAc,GAAG,SAAS,CA6B5B"}
1
+ {"version":3,"file":"model-tool-converter.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/model-tool-converter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgB9D,MAAM,WAAW,iCAAiC;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AA8BD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,cAAc,GAAG,SAAS,CA+B5B"}
@@ -1,7 +1,7 @@
1
1
  import { getProviderNativeToolNames } from "./provider-native-tool-inventory.js";
2
2
  import { addRuntimeTool, createRuntimeJsonSchema, createRuntimeTool, } from "./runtime-tool-builder.js";
3
3
  import { createAnthropicWebFetchToolSet, createAnthropicWebSearchToolSet, } from "./provider-native-tools.js";
4
- import { sanitizeProviderToolSchema, selectProviderCompatibleTools, } from "./provider-tool-compat.js";
4
+ import { normalizeProviderToolInputSchema, sanitizeProviderToolSchema, selectProviderCompatibleTools, } from "./provider-tool-compat.js";
5
5
  function resolveProviderNativeTools(options) {
6
6
  const providerNativeToolNames = new Set(getProviderNativeToolNames({
7
7
  model: options?.model,
@@ -36,7 +36,9 @@ export function convertToolsToRuntimeTools(tools, options) {
36
36
  for (const def of compatibleTools) {
37
37
  addRuntimeTool(toolSet, def.name, createRuntimeTool({
38
38
  description: def.description,
39
- inputSchema: createRuntimeJsonSchema(sanitizeProviderToolSchema(def.parameters, { model: options?.model })),
39
+ inputSchema: createRuntimeJsonSchema(sanitizeProviderToolSchema(normalizeProviderToolInputSchema(def.parameters), {
40
+ model: options?.model,
41
+ })),
40
42
  }));
41
43
  }
42
44
  const providerNativeTools = resolveProviderNativeTools(options);
@@ -19,6 +19,12 @@ export declare function getProviderToolProfile(model?: string): ProviderToolProf
19
19
  export declare function selectProviderCompatibleToolNames(toolNames: readonly string[], options?: ProviderToolCompatOptions): string[];
20
20
  /** Select provider compatible tools helper. */
21
21
  export declare function selectProviderCompatibleTools(tools: readonly ToolDefinition[], options?: ProviderToolCompatOptions): ToolDefinition[];
22
+ /**
23
+ * Normalize a provider tool input schema so every function tool has a
24
+ * provider-safe JSON Schema object at the root. Remote/MCP tools can omit the
25
+ * root `type`; Anthropic rejects those as `input_schema.type` missing.
26
+ */
27
+ export declare function normalizeProviderToolInputSchema(schema: JsonSchema): JsonSchema;
22
28
  /** Zod schema for sanitize provider tool. */
23
29
  export declare function sanitizeProviderToolSchema(schema: JsonSchema, options?: Pick<ProviderToolCompatOptions, "model">): JsonSchema;
24
30
  //# sourceMappingURL=provider-tool-compat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider-tool-compat.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/provider-tool-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,6DAA6D;AAC7D,MAAM,MAAM,0BAA0B,GAClC,WAAW,GACX,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,CAAC;AAEd,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,0BAA0B,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAsBD,oCAAoC;AACpC,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAsB1E;AAeD,oDAAoD;AACpD,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,OAAO,GAAE,yBAA8B,GACtC,MAAM,EAAE,CAsBV;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,OAAO,GAAE,yBAA8B,GACtC,cAAc,EAAE,CAclB;AAuKD,6CAA6C;AAC7C,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAM,GACrD,UAAU,CAWZ"}
1
+ {"version":3,"file":"provider-tool-compat.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/provider-tool-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,6DAA6D;AAC7D,MAAM,MAAM,0BAA0B,GAClC,WAAW,GACX,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,CAAC;AAEd,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,0BAA0B,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AA2BD,oCAAoC;AACpC,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAsB1E;AAeD,oDAAoD;AACpD,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,OAAO,GAAE,yBAA8B,GACtC,MAAM,EAAE,CAsBV;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,OAAO,GAAE,yBAA8B,GACtC,cAAc,EAAE,CAclB;AAuKD;;;;GAIG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAa/E;AAED,6CAA6C;AAC7C,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAM,GACrD,UAAU,CAWZ"}
@@ -1,4 +1,9 @@
1
1
  const OPENAI_MAX_TOOLS = 128;
2
+ const PERMISSIVE_TOOL_INPUT_SCHEMA = {
3
+ type: "object",
4
+ properties: {},
5
+ additionalProperties: true,
6
+ };
2
7
  const PROVIDER_TOOL_PROPERTY_KEY_PATTERN = /^[a-zA-Z0-9_.-]{1,64}$/;
3
8
  const GOOGLE_UNSUPPORTED_SCHEMA_KEYS = new Set([
4
9
  "$id",
@@ -222,6 +227,23 @@ function sanitizeGoogleSchemaValue(value) {
222
227
  }
223
228
  return sanitized;
224
229
  }
230
+ /**
231
+ * Normalize a provider tool input schema so every function tool has a
232
+ * provider-safe JSON Schema object at the root. Remote/MCP tools can omit the
233
+ * root `type`; Anthropic rejects those as `input_schema.type` missing.
234
+ */
235
+ export function normalizeProviderToolInputSchema(schema) {
236
+ if (!isPlainRecord(schema) || Object.keys(schema).length === 0) {
237
+ return { ...PERMISSIVE_TOOL_INPUT_SCHEMA };
238
+ }
239
+ if (Object.hasOwn(schema, "type")) {
240
+ return schema;
241
+ }
242
+ return {
243
+ type: "object",
244
+ ...schema,
245
+ };
246
+ }
225
247
  /** Zod schema for sanitize provider tool. */
226
248
  export function sanitizeProviderToolSchema(schema, options = {}) {
227
249
  const profile = getProviderToolProfile(options.model);
@@ -1,6 +1,6 @@
1
1
  import type { JsonSchema } from "../../tool/schema/index.js";
2
2
  import type { RuntimeToolSet } from "./runtime-tool-types.js";
3
- interface RuntimeJsonSchema<T = unknown> {
3
+ interface RuntimeJsonSchema<T = unknown> extends Record<string, unknown> {
4
4
  readonly jsonSchema: JsonSchema | PromiseLike<JsonSchema>;
5
5
  validate?: (value: unknown) => T | PromiseLike<T>;
6
6
  }
@@ -1 +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AC,EAAE,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,UAAU,GAAG,iBAAiB,CAK3E;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,UAAU,GAAG,iBAAiB,CAE/E;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAC/B,GAAG,qBAAqB,CAMxB;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,qBAAqB,GAChC,IAAI,CAEN;AAED,wBAAgB,yBAAyB,CAAC,UAAU,EAAE;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,GAAG,6BAA6B,CAShC"}
@@ -1,5 +1,6 @@
1
1
  export function createRuntimeJsonSchema(json) {
2
2
  return {
3
+ ...json,
3
4
  jsonSchema: json,
4
5
  };
5
6
  }
@@ -19,7 +19,7 @@ export const connectors = [
19
19
  { "name": "neon", "displayName": "Neon", "icon": "neon.svg", "description": "Manage Neon Postgres projects, branches, and execute database queries", "auth": { "type": "api-key", "requiredApis": [{ "name": "Neon Management API", "enableUrl": "https://console.neon.tech/app/settings/api-keys" }], "tokenName": "API Key", "docsUrl": "https://neon.tech/docs/manage/api-keys" }, "envVars": [{ "name": "NEON_API_KEY", "description": "Neon API Key for Management API access", "required": true, "sensitive": true, "docsUrl": "https://neon.tech/docs/manage/api-keys" }, { "name": "DATABASE_URL", "description": "PostgreSQL connection string for database queries", "required": true, "sensitive": true, "docsUrl": "https://neon.tech/docs/connect/connect-from-any-app" }], "npmDependencies": { "pg": "^8.13.1" }, "tools": [{ "id": "list_projects", "name": "List Projects", "description": "List all Neon projects in your account", "requiresWrite": false }, { "id": "list_branches", "name": "List Branches", "description": "List all branches for a specific project", "requiresWrite": false }, { "id": "query_database", "name": "Query Database", "description": "Execute SQL queries against the connected database", "requiresWrite": false }, { "id": "list_tables", "name": "List Tables", "description": "List all tables in the connected database", "requiresWrite": false }, { "id": "describe_table", "name": "Describe Table", "description": "Get detailed schema information for a specific table", "requiresWrite": false }], "prompts": [{ "id": "check_db_status", "title": "Check database status", "prompt": "Show me the status of my Neon projects and their branches.", "category": "database", "icon": "database" }, { "id": "explore_schema", "title": "Explore database schema", "prompt": "List all tables in my database and show me the schema for the main tables.", "category": "database", "icon": "table" }, { "id": "query_data", "title": "Query database", "prompt": "Help me query my database to find specific data.", "category": "database", "icon": "search" }], "suggestedWith": ["stripe", "clerk", "vercel"] },
20
20
  { "name": "notion", "displayName": "Notion", "icon": "notion.svg", "description": "Search, read, and create pages in Notion workspaces", "auth": { "type": "oauth2", "provider": "notion", "authorizationUrl": "https://api.notion.com/v1/oauth/authorize", "tokenUrl": "https://api.notion.com/v1/oauth/token", "scopes": [], "tokenAuthMethod": "basic", "requiredApis": [{ "name": "Notion Integration", "enableUrl": "https://www.notion.so/my-integrations" }] }, "envVars": [{ "name": "NOTION_CLIENT_ID", "description": "Notion OAuth Client ID (from your integration)", "required": true, "sensitive": false, "docsUrl": "https://www.notion.so/my-integrations" }, { "name": "NOTION_CLIENT_SECRET", "description": "Notion OAuth Client Secret", "required": true, "sensitive": true, "docsUrl": "https://www.notion.so/my-integrations" }], "tools": [{ "id": "search_notion", "name": "Search Notion", "description": "Search pages and databases in the workspace", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://api.notion.com/v1/search", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" } }, "body": { "query": { "type": "string", "description": "Search query text" }, "filter": { "type": "object", "description": "Optional Notion search filter" }, "sort": { "type": "object", "description": "Optional Notion search sort" }, "page_size": { "type": "number", "description": "Maximum results to return", "default": 10 }, "start_cursor": { "type": "string", "description": "Pagination cursor" } }, "response": { "transform": "results" } } }, { "id": "read_page", "name": "Read Page", "description": "Read the content of a Notion page", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://api.notion.com/v1/blocks/{pageId}/children", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" }, "pageId": { "type": "string", "in": "path", "description": "Notion page ID", "required": true }, "page_size": { "type": "number", "in": "query", "description": "Maximum child blocks to return", "default": 100 }, "start_cursor": { "type": "string", "in": "query", "description": "Pagination cursor" } }, "response": { "transform": "results" } } }, { "id": "create_page", "name": "Create Page", "description": "Create a new page in a database or as a subpage", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://api.notion.com/v1/pages", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" } }, "body": { "parent": { "type": "object", "description": "Notion parent object, e.g. database_id or page_id", "required": true }, "properties": { "type": "object", "description": "Page properties", "required": true }, "children": { "type": "array", "description": "Optional child blocks" } } } }, { "id": "query_database", "name": "Query Database", "description": "Query a Notion database with filters and sorts", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://api.notion.com/v1/databases/{databaseId}/query", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" }, "databaseId": { "type": "string", "in": "path", "description": "Notion database ID", "required": true } }, "body": { "filter": { "type": "object", "description": "Optional Notion database filter" }, "sorts": { "type": "array", "description": "Optional Notion database sorts" }, "page_size": { "type": "number", "description": "Maximum results to return", "default": 10 }, "start_cursor": { "type": "string", "description": "Pagination cursor" } }, "response": { "transform": "results" } } }, { "id": "get_page", "name": "Get Page Metadata", "description": "Retrieve Notion page metadata and properties without fetching child block content", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://api.notion.com/v1/pages/{pageId}", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" }, "pageId": { "type": "string", "in": "path", "description": "Notion page ID", "required": true } } } }, { "id": "get_database", "name": "Get Database", "description": "Retrieve Notion database metadata, title, and property schema", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://api.notion.com/v1/databases/{databaseId}", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" }, "databaseId": { "type": "string", "in": "path", "description": "Notion database ID", "required": true } } } }, { "id": "append_blocks", "name": "Append Blocks", "description": "Append child blocks to a Notion page or block", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://api.notion.com/v1/blocks/{blockId}/children", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" }, "blockId": { "type": "string", "in": "path", "description": "Page or block ID to append children to", "required": true } }, "body": { "children": { "type": "array", "description": "Notion block objects to append", "required": true }, "after": { "type": "string", "description": "Optional existing child block ID after which to append" } } } }, { "id": "update_page", "name": "Update Page", "description": "Update Notion page properties or archive/unarchive a page", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://api.notion.com/v1/pages/{pageId}", "params": { "Notion-Version": { "type": "string", "in": "header", "description": "Notion API version", "default": "2022-06-28" }, "pageId": { "type": "string", "in": "path", "description": "Notion page ID", "required": true } }, "body": { "properties": { "type": "object", "description": "Page properties to update" }, "archived": { "type": "boolean", "description": "Whether the page should be archived" }, "icon": { "type": "object", "description": "Optional page icon" }, "cover": { "type": "object", "description": "Optional page cover" } } } }], "prompts": [{ "id": "search_docs", "title": "Search my docs", "prompt": "Search my Notion workspace for relevant documentation or notes about a topic.", "category": "productivity", "icon": "search" }, { "id": "summarize_page", "title": "Summarize a page", "prompt": "Read and summarize a specific Notion page. Extract the key points and action items.", "category": "productivity", "icon": "document" }, { "id": "create_meeting_notes", "title": "Create meeting notes", "prompt": "Create a new meeting notes page with today's date, attendees, agenda, and action items sections.", "category": "productivity", "icon": "plus" }], "suggestedWith": ["gmail", "slack", "calendar"] },
21
21
  { "name": "onedrive", "displayName": "OneDrive", "icon": "onedrive.svg", "description": "Access and manage files in Microsoft OneDrive", "auth": { "type": "oauth2", "provider": "microsoft", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "scopes": ["Files.Read", "Files.ReadWrite", "Files.Read.All", "Files.ReadWrite.All", "offline_access"], "tokenAuthMethod": "body", "requiredApis": [{ "name": "Microsoft Graph API", "enableUrl": "https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }] }, "envVars": [{ "name": "MICROSOFT_CLIENT_ID", "description": "Microsoft Azure App Client ID (shared with Outlook/Teams/SharePoint)", "required": true, "sensitive": false, "docsUrl": "https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }, { "name": "MICROSOFT_CLIENT_SECRET", "description": "Microsoft Azure App Client Secret", "required": true, "sensitive": true, "docsUrl": "https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }], "tools": [{ "id": "list_files", "name": "List Files", "description": "List files and folders in a OneDrive folder", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/drive/root/children", "params": { "$top": { "type": "number", "in": "query", "description": "Maximum number of items to return", "default": 200 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated fields to return" } } } }, { "id": "search_files", "name": "Search Files", "description": "Search for files and folders in OneDrive by name or content", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/drive/root/search(q='{query}')", "params": { "query": { "type": "string", "in": "path", "description": "Search query", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum number of items to return", "default": 200 } } } }, { "id": "upload_file", "name": "Upload File", "description": "Upload or update a file in OneDrive", "requiresWrite": true, "endpoint": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/me/drive/items/{parentFolderId}:/{fileName}:/content", "params": { "parentFolderId": { "type": "string", "in": "path", "description": "Parent folder item ID, or root", "default": "root" }, "fileName": { "type": "string", "in": "path", "description": "Name of the file to upload", "required": true } }, "body": { "content": { "type": "string", "description": "File content to upload", "required": true } }, "contentType": "application/octet-stream" } }, { "id": "download_file", "name": "Download File", "description": "Download file content from OneDrive", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content", "params": { "itemId": { "type": "string", "in": "path", "description": "OneDrive file item ID", "required": true } } } }], "prompts": [{ "id": "search_documents", "title": "Search documents", "prompt": "Search for documents in OneDrive and summarize their content.", "category": "productivity", "icon": "search" }, { "id": "list_recent_files", "title": "List recent files", "prompt": "Show me the most recently modified files in my OneDrive.", "category": "productivity", "icon": "document" }, { "id": "organize_files", "title": "Organize files", "prompt": "Help me organize and manage files in my OneDrive storage.", "category": "productivity", "icon": "folder" }, { "id": "backup_file", "title": "Backup a file", "prompt": "Upload and backup a file to my OneDrive storage.", "category": "productivity", "icon": "upload" }], "suggestedWith": ["outlook", "teams", "sharepoint"] },
22
- { "name": "outlook", "displayName": "Microsoft Outlook", "icon": "outlook.svg", "description": "Read, send, schedule, and manage Outlook mail and calendars", "auth": { "type": "oauth2", "provider": "microsoft", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "scopes": ["Mail.Read", "Mail.Send", "Mail.ReadWrite", "Calendars.Read", "Calendars.ReadWrite", "offline_access"], "tokenAuthMethod": "body", "requiredApis": [{ "name": "Microsoft Graph API", "enableUrl": "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }] }, "envVars": [{ "name": "MICROSOFT_CLIENT_ID", "description": "Microsoft Azure App Client ID (Application ID)", "required": true, "sensitive": false, "docsUrl": "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }, { "name": "MICROSOFT_CLIENT_SECRET", "description": "Microsoft Azure App Client Secret", "required": true, "sensitive": true, "docsUrl": "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }], "tools": [{ "id": "list_emails", "name": "List Emails", "description": "List recent emails from inbox or a specific folder", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}/messages", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID or well-known folder name", "required": true, "default": "inbox" }, "$top": { "type": "number", "in": "query", "description": "Maximum messages to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "receivedDateTime desc" }, "$filter": { "type": "string", "in": "query", "description": "OData filter expression" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "get_email", "name": "Get Email", "description": "Get detailed information about a specific email", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Microsoft Graph message ID", "required": true }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,body,bodyPreview,from,sender,toRecipients,ccRecipients,bccRecipients,replyTo,receivedDateTime,sentDateTime,categories,isRead,importance,hasAttachments,webLink,flag" } } } }, { "id": "send_email", "name": "Send Email", "description": "Send a new email message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/sendMail", "body": { "message": { "type": "object", "description": "Microsoft Graph message object with subject, body, toRecipients, and optional fields", "required": true }, "saveToSentItems": { "type": "boolean", "description": "Save sent message to Sent Items", "default": true } } } }, { "id": "search_emails", "name": "Search Emails", "description": "Search emails by query, subject, sender, or date", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages", "params": { "$search": { "type": "string", "in": "query", "description": "Microsoft Graph search query, for example \"subject:roadmap\"", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum messages to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "list_folders", "name": "List Folders", "description": "List all mail folders in the mailbox", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders", "params": { "includeHiddenFolders": { "type": "boolean", "in": "query", "description": "Include hidden folders", "default": false }, "$top": { "type": "number", "in": "query", "description": "Maximum folders to return", "default": 100 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "folders", "data"], "collectionName": "folders", "itemFields": [{ "name": "id" }, { "name": "displayName" }, { "name": "parentFolderId" }, { "name": "childFolderCount" }, { "name": "unreadItemCount" }, { "name": "totalItemCount" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "folder provider-specific payload fields" } } } }, { "id": "get_folder", "name": "Get Folder", "description": "Get metadata for a mail folder", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID or well-known folder name", "required": true } } } }, { "id": "create_folder", "name": "Create Folder", "description": "Create a mail folder", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/mailFolders", "body": { "displayName": { "type": "string", "description": "Folder display name", "required": true } } } }, { "id": "update_folder", "name": "Update Folder", "description": "Rename a mail folder", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID", "required": true } }, "body": { "displayName": { "type": "string", "description": "Folder display name", "required": true } } } }, { "id": "delete_folder", "name": "Delete Folder", "description": "Delete a mail folder", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID", "required": true } } } }, { "id": "mark_email_read", "name": "Mark Email Read", "description": "Mark an email as read", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "isRead": { "type": "boolean", "description": "Read state", "default": true } } } }, { "id": "mark_email_unread", "name": "Mark Email Unread", "description": "Mark an email as unread", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "isRead": { "type": "boolean", "description": "Read state", "default": false } } } }, { "id": "delete_email", "name": "Delete Email", "description": "Delete an email message", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "move_email", "name": "Move Email", "description": "Move an email to another folder", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/move", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "destinationId": { "type": "string", "description": "Destination folder ID or well-known folder name", "required": true } } } }, { "id": "archive_email", "name": "Archive Email", "description": "Move an email to the archive folder", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/move", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "destinationId": { "type": "string", "description": "Destination folder ID or well-known folder name", "default": "archive" } } } }, { "id": "flag_email", "name": "Flag Email", "description": "Set a follow-up flag on an email", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "flag": { "type": "object", "description": "Microsoft Graph followupFlag object", "required": true } } } }, { "id": "clear_email_flag", "name": "Clear Email Flag", "description": "Clear the follow-up flag on an email", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "flag": { "type": "object", "description": "Microsoft Graph followupFlag object", "default": { "flagStatus": "notFlagged" } } } } }, { "id": "categorize_email", "name": "Categorize Email", "description": "Replace the categories on an email", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "categories": { "type": "array", "description": "Outlook category display names", "required": true } } } }, { "id": "list_categories", "name": "List Categories", "description": "List Outlook master categories", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories", "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "categories", "data"], "collectionName": "categories", "itemFields": [{ "name": "id" }, { "name": "displayName" }, { "name": "color" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "category provider-specific payload fields" } } } }, { "id": "create_category", "name": "Create Category", "description": "Create an Outlook master category", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories", "body": { "displayName": { "type": "string", "description": "Category display name", "required": true }, "color": { "type": "string", "description": "Preset category color" } } } }, { "id": "update_category", "name": "Update Category", "description": "Update an Outlook master category color", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories/{categoryId}", "params": { "categoryId": { "type": "string", "in": "path", "description": "Category ID", "required": true } }, "body": { "color": { "type": "string", "description": "Preset category color", "required": true } } } }, { "id": "delete_category", "name": "Delete Category", "description": "Delete an Outlook master category", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories/{categoryId}", "params": { "categoryId": { "type": "string", "in": "path", "description": "Category ID", "required": true } } } }, { "id": "create_draft", "name": "Create Draft", "description": "Create a draft email message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages", "body": { "subject": { "type": "string", "description": "Message subject", "required": true }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }", "required": true }, "toRecipients": { "type": "array", "description": "Microsoft Graph recipient array", "required": true }, "ccRecipients": { "type": "array", "description": "CC recipient array" }, "bccRecipients": { "type": "array", "description": "BCC recipient array" }, "replyTo": { "type": "array", "description": "Reply-to recipient array" }, "importance": { "type": "string", "description": "Message importance: low, normal, or high" }, "categories": { "type": "array", "description": "Outlook category names" } } } }, { "id": "list_drafts", "name": "List Drafts", "description": "List draft email messages", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/drafts/messages", "params": { "$top": { "type": "number", "in": "query", "description": "Maximum drafts to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "lastModifiedDateTime desc" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "get_draft", "name": "Get Draft", "description": "Get a draft message", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,body,bodyPreview,from,sender,toRecipients,ccRecipients,bccRecipients,replyTo,receivedDateTime,sentDateTime,categories,isRead,importance,hasAttachments,webLink,flag" } } } }, { "id": "update_draft", "name": "Update Draft", "description": "Update a draft email message", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } }, "body": { "subject": { "type": "string", "description": "Message subject" }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }" }, "toRecipients": { "type": "array", "description": "Microsoft Graph recipient array" }, "ccRecipients": { "type": "array", "description": "CC recipient array" }, "bccRecipients": { "type": "array", "description": "BCC recipient array" }, "replyTo": { "type": "array", "description": "Reply-to recipient array" }, "importance": { "type": "string", "description": "Message importance: low, normal, or high" }, "categories": { "type": "array", "description": "Outlook category names" } } } }, { "id": "send_draft", "name": "Send Draft", "description": "Send a draft email message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/send", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } } } }, { "id": "delete_draft", "name": "Delete Draft", "description": "Delete a draft email message", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } } } }, { "id": "reply_email", "name": "Reply Email", "description": "Reply to an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/reply", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "comment": { "type": "string", "description": "Reply comment", "required": true } } } }, { "id": "reply_all_email", "name": "Reply All Email", "description": "Reply all to an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/replyAll", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "comment": { "type": "string", "description": "Reply-all comment", "required": true } } } }, { "id": "forward_email", "name": "Forward Email", "description": "Forward an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/forward", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "comment": { "type": "string", "description": "Forward comment" }, "toRecipients": { "type": "array", "description": "Recipients to forward to", "required": true } } } }, { "id": "create_reply_draft", "name": "Create Reply Draft", "description": "Create a reply draft for an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/createReply", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "create_reply_all_draft", "name": "Create Reply All Draft", "description": "Create a reply-all draft for an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/createReplyAll", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "create_forward_draft", "name": "Create Forward Draft", "description": "Create a forward draft for an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/createForward", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "list_attachments", "name": "List Attachments", "description": "List attachments for an email message", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/attachments", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "attachments", "data"], "collectionName": "attachments", "itemFields": [{ "name": "id" }, { "name": "name" }, { "name": "contentType" }, { "name": "size" }, { "name": "isInline" }, { "name": "lastModifiedDateTime" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "attachment binary content and provider-specific payload fields" } } } }, { "id": "get_attachment", "name": "Get Attachment", "description": "Get metadata and content for an email attachment", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/attachments/{attachmentId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true }, "attachmentId": { "type": "string", "in": "path", "description": "Attachment ID", "required": true } } } }, { "id": "add_attachment_to_message", "name": "Add Attachment To Message", "description": "Add a small attachment to a draft message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/attachments", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } }, "body": { "@odata.type": { "type": "string", "description": "Microsoft Graph attachment type", "default": "#microsoft.graph.fileAttachment" }, "name": { "type": "string", "description": "Attachment filename", "required": true }, "contentBytes": { "type": "string", "description": "Base64-encoded attachment content", "required": true }, "contentType": { "type": "string", "description": "Attachment MIME type" }, "isInline": { "type": "boolean", "description": "Whether the attachment is inline", "default": false } } } }, { "id": "list_conversation_messages", "name": "List Conversation Messages", "description": "List messages in an Outlook conversation", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages?$filter=conversationId eq '{conversationId}'", "params": { "conversationId": { "type": "string", "in": "path", "description": "Conversation ID", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum messages to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "list_calendars", "name": "List Calendars", "description": "List Outlook calendars", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendars", "params": { "$top": { "type": "number", "in": "query", "description": "Maximum calendars to return", "default": 100 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "calendars", "data"], "collectionName": "calendars", "itemFields": [{ "name": "id" }, { "name": "name" }, { "name": "color" }, { "name": "isDefaultCalendar" }, { "name": "canEdit" }, { "name": "canShare" }, { "name": "owner", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "calendar provider-specific payload fields" } } } }, { "id": "get_calendar", "name": "Get Calendar", "description": "Get metadata for an Outlook calendar", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true } } } }, { "id": "create_calendar", "name": "Create Calendar", "description": "Create an Outlook calendar", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/calendars", "body": { "name": { "type": "string", "description": "Calendar name", "required": true } } } }, { "id": "update_calendar", "name": "Update Calendar", "description": "Update an Outlook calendar", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true } }, "body": { "name": { "type": "string", "description": "Calendar name" }, "color": { "type": "string", "description": "Calendar color" } } } }, { "id": "delete_calendar", "name": "Delete Calendar", "description": "Delete an Outlook calendar", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true } } } }, { "id": "list_events", "name": "List Events", "description": "List events from a specific Outlook calendar", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}/events", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum events to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "start/dateTime" }, "$filter": { "type": "string", "in": "query", "description": "OData filter expression" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "events", "data"], "collectionName": "events", "itemFields": [{ "name": "id" }, { "name": "subject" }, { "name": "organizer", "kind": "contact" }, { "name": "attendees", "kind": "contact-array" }, { "name": "start", "kind": "object" }, { "name": "end", "kind": "object" }, { "name": "location", "kind": "object" }, { "name": "showAs" }, { "name": "responseStatus", "kind": "object" }, { "name": "isOnlineMeeting" }, { "name": "webLink" }, { "name": "bodyPreview", "maxLength": 300 }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "full event bodies and provider-specific payload fields" } } } }, { "id": "list_calendar_view", "name": "List Calendar View", "description": "List occurrences in a calendar time window", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendarView", "params": { "startDateTime": { "type": "string", "in": "query", "description": "Window start ISO date/time", "required": true }, "endDateTime": { "type": "string", "in": "query", "description": "Window end ISO date/time", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum events to return", "default": 50 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "start/dateTime" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "events", "data"], "collectionName": "events", "itemFields": [{ "name": "id" }, { "name": "subject" }, { "name": "organizer", "kind": "contact" }, { "name": "attendees", "kind": "contact-array" }, { "name": "start", "kind": "object" }, { "name": "end", "kind": "object" }, { "name": "location", "kind": "object" }, { "name": "showAs" }, { "name": "responseStatus", "kind": "object" }, { "name": "isOnlineMeeting" }, { "name": "webLink" }, { "name": "bodyPreview", "maxLength": 300 }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "full event bodies and provider-specific payload fields" } } } }, { "id": "get_event", "name": "Get Event", "description": "Get details for an Outlook event", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" } } } }, { "id": "create_event", "name": "Create Event", "description": "Create an Outlook calendar event", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/events", "body": { "subject": { "type": "string", "description": "Event subject", "required": true }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }" }, "start": { "type": "object", "description": "Start date/time object with dateTime and timeZone", "required": true }, "end": { "type": "object", "description": "End date/time object with dateTime and timeZone", "required": true }, "attendees": { "type": "array", "description": "Attendee array" }, "location": { "type": "object", "description": "Primary event location" }, "locations": { "type": "array", "description": "Additional event locations" }, "categories": { "type": "array", "description": "Outlook category names" }, "importance": { "type": "string", "description": "Event importance: low, normal, or high" }, "showAs": { "type": "string", "description": "Free/busy status such as free, busy, tentative, or oof" }, "isOnlineMeeting": { "type": "boolean", "description": "Whether to create an online meeting" }, "onlineMeetingProvider": { "type": "string", "description": "Online meeting provider such as teamsForBusiness" }, "recurrence": { "type": "object", "description": "Microsoft Graph patternedRecurrence object" } } } }, { "id": "update_event", "name": "Update Event", "description": "Update an Outlook calendar event", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } }, "body": { "subject": { "type": "string", "description": "Event subject" }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }" }, "start": { "type": "object", "description": "Start date/time object with dateTime and timeZone" }, "end": { "type": "object", "description": "End date/time object with dateTime and timeZone" }, "attendees": { "type": "array", "description": "Attendee array" }, "location": { "type": "object", "description": "Primary event location" }, "locations": { "type": "array", "description": "Additional event locations" }, "categories": { "type": "array", "description": "Outlook category names" }, "importance": { "type": "string", "description": "Event importance: low, normal, or high" }, "showAs": { "type": "string", "description": "Free/busy status such as free, busy, tentative, or oof" }, "isOnlineMeeting": { "type": "boolean", "description": "Whether to create an online meeting" }, "onlineMeetingProvider": { "type": "string", "description": "Online meeting provider such as teamsForBusiness" }, "recurrence": { "type": "object", "description": "Microsoft Graph patternedRecurrence object" } } } }, { "id": "delete_event", "name": "Delete Event", "description": "Delete an Outlook calendar event", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } } } }, { "id": "respond_to_event", "name": "Respond To Event", "description": "Accept, tentatively accept, or decline an event invitation", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/{responseAction}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true }, "responseAction": { "type": "string", "in": "path", "description": "Response action: accept, tentativelyAccept, or decline", "required": true } }, "body": { "comment": { "type": "string", "description": "Response comment" }, "sendResponse": { "type": "boolean", "description": "Send a response to the organizer", "default": true } } } }, { "id": "get_event_instances", "name": "Get Event Instances", "description": "List instances of a recurring event in a time window", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/instances", "params": { "eventId": { "type": "string", "in": "path", "description": "Recurring event ID", "required": true }, "startDateTime": { "type": "string", "in": "query", "description": "Window start ISO date/time", "required": true }, "endDateTime": { "type": "string", "in": "query", "description": "Window end ISO date/time", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum instances to return", "default": 50 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "events", "data"], "collectionName": "events", "itemFields": [{ "name": "id" }, { "name": "subject" }, { "name": "organizer", "kind": "contact" }, { "name": "attendees", "kind": "contact-array" }, { "name": "start", "kind": "object" }, { "name": "end", "kind": "object" }, { "name": "location", "kind": "object" }, { "name": "showAs" }, { "name": "responseStatus", "kind": "object" }, { "name": "isOnlineMeeting" }, { "name": "webLink" }, { "name": "bodyPreview", "maxLength": 300 }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "full event bodies and provider-specific payload fields" } } } }, { "id": "list_event_attachments", "name": "List Event Attachments", "description": "List attachments for an event", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "attachments", "data"], "collectionName": "attachments", "itemFields": [{ "name": "id" }, { "name": "name" }, { "name": "contentType" }, { "name": "size" }, { "name": "isInline" }, { "name": "lastModifiedDateTime" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "attachment binary content and provider-specific payload fields" } } } }, { "id": "get_event_attachment", "name": "Get Event Attachment", "description": "Get metadata and content for an event attachment", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments/{attachmentId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true }, "attachmentId": { "type": "string", "in": "path", "description": "Attachment ID", "required": true } } } }, { "id": "add_event_attachment", "name": "Add Event Attachment", "description": "Add a small attachment to an event", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } }, "body": { "@odata.type": { "type": "string", "description": "Microsoft Graph attachment type", "default": "#microsoft.graph.fileAttachment" }, "name": { "type": "string", "description": "Attachment filename", "required": true }, "contentBytes": { "type": "string", "description": "Base64-encoded attachment content", "required": true }, "contentType": { "type": "string", "description": "Attachment MIME type" }, "isInline": { "type": "boolean", "description": "Whether the attachment is inline", "default": false } } } }, { "id": "find_free_time", "name": "Find Free Time", "description": "Return free/busy schedule information for users or resources", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/calendar/getSchedule", "body": { "schedules": { "type": "array", "description": "Email addresses or schedule IDs to query", "required": true }, "startTime": { "type": "object", "description": "Window start dateTimeTimeZone object", "required": true }, "endTime": { "type": "object", "description": "Window end dateTimeTimeZone object", "required": true }, "availabilityViewInterval": { "type": "number", "description": "Availability view interval in minutes", "default": 30 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "schedules", "data"], "collectionName": "schedules", "itemFields": [{ "name": "scheduleId" }, { "name": "availabilityView" }, { "name": "scheduleItems", "kind": "object" }, { "name": "workingHours", "kind": "object" }, { "name": "error", "kind": "object" }], "omitted": "provider-specific schedule diagnostics and expanded free/busy payload fields" } } } }, { "id": "get_schedule", "name": "Get Schedule", "description": "Get detailed free/busy schedule information", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/calendar/getSchedule", "body": { "schedules": { "type": "array", "description": "Email addresses or schedule IDs to query", "required": true }, "startTime": { "type": "object", "description": "Window start dateTimeTimeZone object", "required": true }, "endTime": { "type": "object", "description": "Window end dateTimeTimeZone object", "required": true }, "availabilityViewInterval": { "type": "number", "description": "Availability view interval in minutes", "default": 30 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "schedules", "data"], "collectionName": "schedules", "itemFields": [{ "name": "scheduleId" }, { "name": "availabilityView" }, { "name": "scheduleItems", "kind": "object" }, { "name": "workingHours", "kind": "object" }, { "name": "error", "kind": "object" }], "omitted": "provider-specific schedule diagnostics and expanded free/busy payload fields" } } } }, { "id": "find_meeting_times", "name": "Find Meeting Times", "description": "Find meeting time suggestions from attendees and constraints", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/findMeetingTimes", "body": { "attendees": { "type": "array", "description": "Attendee array", "required": true }, "timeConstraint": { "type": "object", "description": "Meeting time constraint object", "required": true }, "meetingDuration": { "type": "string", "description": "ISO 8601 meeting duration, for example PT1H" }, "maxCandidates": { "type": "number", "description": "Maximum meeting suggestions to return", "default": 10 }, "isOrganizerOptional": { "type": "boolean", "description": "Whether organizer attendance is optional" }, "returnSuggestionReasons": { "type": "boolean", "description": "Return suggestion reason text", "default": true }, "minimumAttendeePercentage": { "type": "number", "description": "Minimum attendee availability percentage" } }, "response": { "transform": "meetingTimeSuggestions", "historicalSummary": { "collectionKeys": ["meetingTimeSuggestions", "value", "data"], "collectionName": "meetingTimeSuggestions", "itemFields": [{ "name": "confidence" }, { "name": "organizerAvailability" }, { "name": "attendeeAvailability", "kind": "object" }, { "name": "meetingTimeSlot", "kind": "object" }, { "name": "locations", "kind": "object" }, { "name": "suggestionReason", "maxLength": 300 }], "omitted": "provider-specific meeting suggestion diagnostics" } } } }], "prompts": [{ "id": "check_emails", "title": "Check my emails", "prompt": "List my recent unread emails and summarize the most important ones.", "category": "productivity", "icon": "mail" }, { "id": "search_emails", "title": "Search my emails", "prompt": "Search my emails for specific topics, senders, or date ranges.", "category": "productivity", "icon": "search" }, { "id": "draft_email", "title": "Draft an email", "prompt": "Help me draft a professional email with proper formatting and tone.", "category": "productivity", "icon": "compose" }], "suggestedWith": ["teams", "calendar", "gmail"] },
22
+ { "name": "outlook", "displayName": "Microsoft Outlook", "icon": "outlook.svg", "description": "Read, send, schedule, and manage Outlook mail and calendars", "auth": { "type": "oauth2", "provider": "microsoft", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "scopes": ["Mail.Read", "Mail.Send", "Mail.ReadWrite", "Calendars.Read", "Calendars.ReadWrite", "offline_access"], "tokenAuthMethod": "body", "requiredApis": [{ "name": "Microsoft Graph API", "enableUrl": "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }] }, "envVars": [{ "name": "MICROSOFT_CLIENT_ID", "description": "Microsoft Azure App Client ID (Application ID)", "required": true, "sensitive": false, "docsUrl": "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }, { "name": "MICROSOFT_CLIENT_SECRET", "description": "Microsoft Azure App Client Secret", "required": true, "sensitive": true, "docsUrl": "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade" }], "tools": [{ "id": "list_emails", "name": "List Emails", "description": "List recent emails from inbox or a specific folder", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}/messages", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID or well-known folder name", "required": true, "default": "inbox" }, "$top": { "type": "number", "in": "query", "description": "Maximum messages to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "receivedDateTime desc" }, "$filter": { "type": "string", "in": "query", "description": "OData filter expression" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "get_email", "name": "Get Email", "description": "Get detailed information about a specific email", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Microsoft Graph message ID", "required": true }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,body,bodyPreview,from,sender,toRecipients,ccRecipients,bccRecipients,replyTo,receivedDateTime,sentDateTime,categories,isRead,importance,hasAttachments,webLink,flag" } } } }, { "id": "send_email", "name": "Send Email", "description": "Send a new email message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/sendMail", "body": { "message": { "type": "object", "description": "Microsoft Graph message object with subject, body, toRecipients, and optional fields", "required": true }, "saveToSentItems": { "type": "boolean", "description": "Save sent message to Sent Items", "default": true } } } }, { "id": "search_emails", "name": "Search Emails", "description": "Search emails by query, subject, sender, or date", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages", "params": { "query": { "type": "string", "in": "query", "description": "Microsoft Graph search query, for example \"subject:roadmap\"", "required": true, "queryName": "$search" }, "$top": { "type": "number", "in": "query", "description": "Maximum messages to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "list_folders", "name": "List Folders", "description": "List all mail folders in the mailbox", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders", "params": { "includeHiddenFolders": { "type": "boolean", "in": "query", "description": "Include hidden folders", "default": false }, "$top": { "type": "number", "in": "query", "description": "Maximum folders to return", "default": 100 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "folders", "data"], "collectionName": "folders", "itemFields": [{ "name": "id" }, { "name": "displayName" }, { "name": "parentFolderId" }, { "name": "childFolderCount" }, { "name": "unreadItemCount" }, { "name": "totalItemCount" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "folder provider-specific payload fields" } } } }, { "id": "get_folder", "name": "Get Folder", "description": "Get metadata for a mail folder", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID or well-known folder name", "required": true } } } }, { "id": "create_folder", "name": "Create Folder", "description": "Create a mail folder", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/mailFolders", "body": { "displayName": { "type": "string", "description": "Folder display name", "required": true } } } }, { "id": "update_folder", "name": "Update Folder", "description": "Rename a mail folder", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID", "required": true } }, "body": { "displayName": { "type": "string", "description": "Folder display name", "required": true } } } }, { "id": "delete_folder", "name": "Delete Folder", "description": "Delete a mail folder", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}", "params": { "folderId": { "type": "string", "in": "path", "description": "Mail folder ID", "required": true } } } }, { "id": "mark_email_read", "name": "Mark Email Read", "description": "Mark an email as read", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "isRead": { "type": "boolean", "description": "Read state", "default": true } } } }, { "id": "mark_email_unread", "name": "Mark Email Unread", "description": "Mark an email as unread", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "isRead": { "type": "boolean", "description": "Read state", "default": false } } } }, { "id": "delete_email", "name": "Delete Email", "description": "Delete an email message", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "move_email", "name": "Move Email", "description": "Move an email to another folder", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/move", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "destinationId": { "type": "string", "description": "Destination folder ID or well-known folder name", "required": true } } } }, { "id": "archive_email", "name": "Archive Email", "description": "Move an email to the archive folder", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/move", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "destinationId": { "type": "string", "description": "Destination folder ID or well-known folder name", "default": "archive" } } } }, { "id": "flag_email", "name": "Flag Email", "description": "Set a follow-up flag on an email", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "flag": { "type": "object", "description": "Microsoft Graph followupFlag object", "required": true } } } }, { "id": "clear_email_flag", "name": "Clear Email Flag", "description": "Clear the follow-up flag on an email", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "flag": { "type": "object", "description": "Microsoft Graph followupFlag object", "default": { "flagStatus": "notFlagged" } } } } }, { "id": "categorize_email", "name": "Categorize Email", "description": "Replace the categories on an email", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "categories": { "type": "array", "description": "Outlook category display names", "required": true } } } }, { "id": "list_categories", "name": "List Categories", "description": "List Outlook master categories", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories", "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "categories", "data"], "collectionName": "categories", "itemFields": [{ "name": "id" }, { "name": "displayName" }, { "name": "color" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "category provider-specific payload fields" } } } }, { "id": "create_category", "name": "Create Category", "description": "Create an Outlook master category", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories", "body": { "displayName": { "type": "string", "description": "Category display name", "required": true }, "color": { "type": "string", "description": "Preset category color" } } } }, { "id": "update_category", "name": "Update Category", "description": "Update an Outlook master category color", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories/{categoryId}", "params": { "categoryId": { "type": "string", "in": "path", "description": "Category ID", "required": true } }, "body": { "color": { "type": "string", "description": "Preset category color", "required": true } } } }, { "id": "delete_category", "name": "Delete Category", "description": "Delete an Outlook master category", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/outlook/masterCategories/{categoryId}", "params": { "categoryId": { "type": "string", "in": "path", "description": "Category ID", "required": true } } } }, { "id": "create_draft", "name": "Create Draft", "description": "Create a draft email message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages", "body": { "subject": { "type": "string", "description": "Message subject", "required": true }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }", "required": true }, "toRecipients": { "type": "array", "description": "Microsoft Graph recipient array", "required": true }, "ccRecipients": { "type": "array", "description": "CC recipient array" }, "bccRecipients": { "type": "array", "description": "BCC recipient array" }, "replyTo": { "type": "array", "description": "Reply-to recipient array" }, "importance": { "type": "string", "description": "Message importance: low, normal, or high" }, "categories": { "type": "array", "description": "Outlook category names" } } } }, { "id": "list_drafts", "name": "List Drafts", "description": "List draft email messages", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/drafts/messages", "params": { "$top": { "type": "number", "in": "query", "description": "Maximum drafts to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "lastModifiedDateTime desc" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "get_draft", "name": "Get Draft", "description": "Get a draft message", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,body,bodyPreview,from,sender,toRecipients,ccRecipients,bccRecipients,replyTo,receivedDateTime,sentDateTime,categories,isRead,importance,hasAttachments,webLink,flag" } } } }, { "id": "update_draft", "name": "Update Draft", "description": "Update a draft email message", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } }, "body": { "subject": { "type": "string", "description": "Message subject" }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }" }, "toRecipients": { "type": "array", "description": "Microsoft Graph recipient array" }, "ccRecipients": { "type": "array", "description": "CC recipient array" }, "bccRecipients": { "type": "array", "description": "BCC recipient array" }, "replyTo": { "type": "array", "description": "Reply-to recipient array" }, "importance": { "type": "string", "description": "Message importance: low, normal, or high" }, "categories": { "type": "array", "description": "Outlook category names" } } } }, { "id": "send_draft", "name": "Send Draft", "description": "Send a draft email message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/send", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } } } }, { "id": "delete_draft", "name": "Delete Draft", "description": "Delete a draft email message", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } } } }, { "id": "reply_email", "name": "Reply Email", "description": "Reply to an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/reply", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "comment": { "type": "string", "description": "Reply comment", "required": true } } } }, { "id": "reply_all_email", "name": "Reply All Email", "description": "Reply all to an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/replyAll", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "comment": { "type": "string", "description": "Reply-all comment", "required": true } } } }, { "id": "forward_email", "name": "Forward Email", "description": "Forward an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/forward", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "body": { "comment": { "type": "string", "description": "Forward comment" }, "toRecipients": { "type": "array", "description": "Recipients to forward to", "required": true } } } }, { "id": "create_reply_draft", "name": "Create Reply Draft", "description": "Create a reply draft for an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/createReply", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "create_reply_all_draft", "name": "Create Reply All Draft", "description": "Create a reply-all draft for an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/createReplyAll", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "create_forward_draft", "name": "Create Forward Draft", "description": "Create a forward draft for an email", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/createForward", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } } } }, { "id": "list_attachments", "name": "List Attachments", "description": "List attachments for an email message", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/attachments", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "attachments", "data"], "collectionName": "attachments", "itemFields": [{ "name": "id" }, { "name": "name" }, { "name": "contentType" }, { "name": "size" }, { "name": "isInline" }, { "name": "lastModifiedDateTime" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "attachment binary content and provider-specific payload fields" } } } }, { "id": "get_attachment", "name": "Get Attachment", "description": "Get metadata and content for an email attachment", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/attachments/{attachmentId}", "params": { "messageId": { "type": "string", "in": "path", "description": "Message ID", "required": true }, "attachmentId": { "type": "string", "in": "path", "description": "Attachment ID", "required": true } } } }, { "id": "add_attachment_to_message", "name": "Add Attachment To Message", "description": "Add a small attachment to a draft message", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/{messageId}/attachments", "params": { "messageId": { "type": "string", "in": "path", "description": "Draft message ID", "required": true } }, "body": { "@odata.type": { "type": "string", "description": "Microsoft Graph attachment type", "default": "#microsoft.graph.fileAttachment" }, "name": { "type": "string", "description": "Attachment filename", "required": true }, "contentBytes": { "type": "string", "description": "Base64-encoded attachment content", "required": true }, "contentType": { "type": "string", "description": "Attachment MIME type" }, "isInline": { "type": "boolean", "description": "Whether the attachment is inline", "default": false } } } }, { "id": "list_conversation_messages", "name": "List Conversation Messages", "description": "List messages in an Outlook conversation", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages?$filter=conversationId eq '{conversationId}'", "params": { "conversationId": { "type": "string", "in": "path", "description": "Conversation ID", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum messages to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated message fields to return", "default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "data", "messages"], "collectionName": "messages", "itemFields": [{ "name": "id" }, { "name": "conversationId" }, { "name": "internetMessageId" }, { "name": "from", "kind": "contact" }, { "name": "sender", "kind": "contact" }, { "name": "toRecipients", "kind": "contact-array" }, { "name": "ccRecipients", "kind": "contact-array" }, { "name": "subject" }, { "name": "receivedDateTime" }, { "name": "sentDateTime" }, { "name": "bodyPreview", "maxLength": 300 }, { "name": "categories", "kind": "string-array" }, { "name": "isRead" }, { "name": "importance" }, { "name": "hasAttachments" }, { "name": "webLink" }, { "name": "flag", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "large email bodies and provider-specific message fields" } } } }, { "id": "list_calendars", "name": "List Calendars", "description": "List Outlook calendars", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendars", "params": { "$top": { "type": "number", "in": "query", "description": "Maximum calendars to return", "default": 100 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "calendars", "data"], "collectionName": "calendars", "itemFields": [{ "name": "id" }, { "name": "name" }, { "name": "color" }, { "name": "isDefaultCalendar" }, { "name": "canEdit" }, { "name": "canShare" }, { "name": "owner", "kind": "object" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "calendar provider-specific payload fields" } } } }, { "id": "get_calendar", "name": "Get Calendar", "description": "Get metadata for an Outlook calendar", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true } } } }, { "id": "create_calendar", "name": "Create Calendar", "description": "Create an Outlook calendar", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/calendars", "body": { "name": { "type": "string", "description": "Calendar name", "required": true } } } }, { "id": "update_calendar", "name": "Update Calendar", "description": "Update an Outlook calendar", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true } }, "body": { "name": { "type": "string", "description": "Calendar name" }, "color": { "type": "string", "description": "Calendar color" } } } }, { "id": "delete_calendar", "name": "Delete Calendar", "description": "Delete an Outlook calendar", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true } } } }, { "id": "list_events", "name": "List Events", "description": "List events from a specific Outlook calendar", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendars/{calendarId}/events", "params": { "calendarId": { "type": "string", "in": "path", "description": "Calendar ID", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum events to return", "default": 25 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "start/dateTime" }, "$filter": { "type": "string", "in": "query", "description": "OData filter expression" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "events", "data"], "collectionName": "events", "itemFields": [{ "name": "id" }, { "name": "subject" }, { "name": "organizer", "kind": "contact" }, { "name": "attendees", "kind": "contact-array" }, { "name": "start", "kind": "object" }, { "name": "end", "kind": "object" }, { "name": "location", "kind": "object" }, { "name": "showAs" }, { "name": "responseStatus", "kind": "object" }, { "name": "isOnlineMeeting" }, { "name": "webLink" }, { "name": "bodyPreview", "maxLength": 300 }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "full event bodies and provider-specific payload fields" } } } }, { "id": "list_calendar_view", "name": "List Calendar View", "description": "List occurrences in a calendar time window", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/calendarView", "params": { "startDateTime": { "type": "string", "in": "query", "description": "Window start ISO date/time", "required": true }, "endDateTime": { "type": "string", "in": "query", "description": "Window end ISO date/time", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum events to return", "default": 50 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" }, "$orderby": { "type": "string", "in": "query", "description": "Sort expression", "default": "start/dateTime" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "events", "data"], "collectionName": "events", "itemFields": [{ "name": "id" }, { "name": "subject" }, { "name": "organizer", "kind": "contact" }, { "name": "attendees", "kind": "contact-array" }, { "name": "start", "kind": "object" }, { "name": "end", "kind": "object" }, { "name": "location", "kind": "object" }, { "name": "showAs" }, { "name": "responseStatus", "kind": "object" }, { "name": "isOnlineMeeting" }, { "name": "webLink" }, { "name": "bodyPreview", "maxLength": 300 }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "full event bodies and provider-specific payload fields" } } } }, { "id": "get_event", "name": "Get Event", "description": "Get details for an Outlook event", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" } } } }, { "id": "create_event", "name": "Create Event", "description": "Create an Outlook calendar event", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/events", "body": { "subject": { "type": "string", "description": "Event subject", "required": true }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }" }, "start": { "type": "object", "description": "Start date/time object with dateTime and timeZone", "required": true }, "end": { "type": "object", "description": "End date/time object with dateTime and timeZone", "required": true }, "attendees": { "type": "array", "description": "Attendee array" }, "location": { "type": "object", "description": "Primary event location" }, "locations": { "type": "array", "description": "Additional event locations" }, "categories": { "type": "array", "description": "Outlook category names" }, "importance": { "type": "string", "description": "Event importance: low, normal, or high" }, "showAs": { "type": "string", "description": "Free/busy status such as free, busy, tentative, or oof" }, "isOnlineMeeting": { "type": "boolean", "description": "Whether to create an online meeting" }, "onlineMeetingProvider": { "type": "string", "description": "Online meeting provider such as teamsForBusiness" }, "recurrence": { "type": "object", "description": "Microsoft Graph patternedRecurrence object" } } } }, { "id": "update_event", "name": "Update Event", "description": "Update an Outlook calendar event", "requiresWrite": true, "endpoint": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } }, "body": { "subject": { "type": "string", "description": "Event subject" }, "body": { "type": "object", "description": "Microsoft Graph itemBody object, for example { contentType, content }" }, "start": { "type": "object", "description": "Start date/time object with dateTime and timeZone" }, "end": { "type": "object", "description": "End date/time object with dateTime and timeZone" }, "attendees": { "type": "array", "description": "Attendee array" }, "location": { "type": "object", "description": "Primary event location" }, "locations": { "type": "array", "description": "Additional event locations" }, "categories": { "type": "array", "description": "Outlook category names" }, "importance": { "type": "string", "description": "Event importance: low, normal, or high" }, "showAs": { "type": "string", "description": "Free/busy status such as free, busy, tentative, or oof" }, "isOnlineMeeting": { "type": "boolean", "description": "Whether to create an online meeting" }, "onlineMeetingProvider": { "type": "string", "description": "Online meeting provider such as teamsForBusiness" }, "recurrence": { "type": "object", "description": "Microsoft Graph patternedRecurrence object" } } } }, { "id": "delete_event", "name": "Delete Event", "description": "Delete an Outlook calendar event", "requiresWrite": true, "endpoint": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } } } }, { "id": "respond_to_event", "name": "Respond To Event", "description": "Accept, tentatively accept, or decline an event invitation", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/{responseAction}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true }, "responseAction": { "type": "string", "in": "path", "description": "Response action: accept, tentativelyAccept, or decline", "required": true } }, "body": { "comment": { "type": "string", "description": "Response comment" }, "sendResponse": { "type": "boolean", "description": "Send a response to the organizer", "default": true } } } }, { "id": "get_event_instances", "name": "Get Event Instances", "description": "List instances of a recurring event in a time window", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/instances", "params": { "eventId": { "type": "string", "in": "path", "description": "Recurring event ID", "required": true }, "startDateTime": { "type": "string", "in": "query", "description": "Window start ISO date/time", "required": true }, "endDateTime": { "type": "string", "in": "query", "description": "Window end ISO date/time", "required": true }, "$top": { "type": "number", "in": "query", "description": "Maximum instances to return", "default": 50 }, "$select": { "type": "string", "in": "query", "description": "Comma-separated event fields to return", "default": "id,subject,bodyPreview,organizer,attendees,start,end,location,locations,isOnlineMeeting,onlineMeetingProvider,webLink,showAs,responseStatus,categories,importance,hasAttachments,recurrence" } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "events", "data"], "collectionName": "events", "itemFields": [{ "name": "id" }, { "name": "subject" }, { "name": "organizer", "kind": "contact" }, { "name": "attendees", "kind": "contact-array" }, { "name": "start", "kind": "object" }, { "name": "end", "kind": "object" }, { "name": "location", "kind": "object" }, { "name": "showAs" }, { "name": "responseStatus", "kind": "object" }, { "name": "isOnlineMeeting" }, { "name": "webLink" }, { "name": "bodyPreview", "maxLength": 300 }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "full event bodies and provider-specific payload fields" } } } }, { "id": "list_event_attachments", "name": "List Event Attachments", "description": "List attachments for an event", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "attachments", "data"], "collectionName": "attachments", "itemFields": [{ "name": "id" }, { "name": "name" }, { "name": "contentType" }, { "name": "size" }, { "name": "isInline" }, { "name": "lastModifiedDateTime" }], "outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }], "omitted": "attachment binary content and provider-specific payload fields" } } } }, { "id": "get_event_attachment", "name": "Get Event Attachment", "description": "Get metadata and content for an event attachment", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments/{attachmentId}", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true }, "attachmentId": { "type": "string", "in": "path", "description": "Attachment ID", "required": true } } } }, { "id": "add_event_attachment", "name": "Add Event Attachment", "description": "Add a small attachment to an event", "requiresWrite": true, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments", "params": { "eventId": { "type": "string", "in": "path", "description": "Event ID", "required": true } }, "body": { "@odata.type": { "type": "string", "description": "Microsoft Graph attachment type", "default": "#microsoft.graph.fileAttachment" }, "name": { "type": "string", "description": "Attachment filename", "required": true }, "contentBytes": { "type": "string", "description": "Base64-encoded attachment content", "required": true }, "contentType": { "type": "string", "description": "Attachment MIME type" }, "isInline": { "type": "boolean", "description": "Whether the attachment is inline", "default": false } } } }, { "id": "find_free_time", "name": "Find Free Time", "description": "Return free/busy schedule information for users or resources", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/calendar/getSchedule", "body": { "schedules": { "type": "array", "description": "Email addresses or schedule IDs to query", "required": true }, "startTime": { "type": "object", "description": "Window start dateTimeTimeZone object", "required": true }, "endTime": { "type": "object", "description": "Window end dateTimeTimeZone object", "required": true }, "availabilityViewInterval": { "type": "number", "description": "Availability view interval in minutes", "default": 30 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "schedules", "data"], "collectionName": "schedules", "itemFields": [{ "name": "scheduleId" }, { "name": "availabilityView" }, { "name": "scheduleItems", "kind": "object" }, { "name": "workingHours", "kind": "object" }, { "name": "error", "kind": "object" }], "omitted": "provider-specific schedule diagnostics and expanded free/busy payload fields" } } } }, { "id": "get_schedule", "name": "Get Schedule", "description": "Get detailed free/busy schedule information", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/calendar/getSchedule", "body": { "schedules": { "type": "array", "description": "Email addresses or schedule IDs to query", "required": true }, "startTime": { "type": "object", "description": "Window start dateTimeTimeZone object", "required": true }, "endTime": { "type": "object", "description": "Window end dateTimeTimeZone object", "required": true }, "availabilityViewInterval": { "type": "number", "description": "Availability view interval in minutes", "default": 30 } }, "response": { "transform": "value", "historicalSummary": { "collectionKeys": ["value", "schedules", "data"], "collectionName": "schedules", "itemFields": [{ "name": "scheduleId" }, { "name": "availabilityView" }, { "name": "scheduleItems", "kind": "object" }, { "name": "workingHours", "kind": "object" }, { "name": "error", "kind": "object" }], "omitted": "provider-specific schedule diagnostics and expanded free/busy payload fields" } } } }, { "id": "find_meeting_times", "name": "Find Meeting Times", "description": "Find meeting time suggestions from attendees and constraints", "requiresWrite": false, "endpoint": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/findMeetingTimes", "body": { "attendees": { "type": "array", "description": "Attendee array", "required": true }, "timeConstraint": { "type": "object", "description": "Meeting time constraint object", "required": true }, "meetingDuration": { "type": "string", "description": "ISO 8601 meeting duration, for example PT1H" }, "maxCandidates": { "type": "number", "description": "Maximum meeting suggestions to return", "default": 10 }, "isOrganizerOptional": { "type": "boolean", "description": "Whether organizer attendance is optional" }, "returnSuggestionReasons": { "type": "boolean", "description": "Return suggestion reason text", "default": true }, "minimumAttendeePercentage": { "type": "number", "description": "Minimum attendee availability percentage" } }, "response": { "transform": "meetingTimeSuggestions", "historicalSummary": { "collectionKeys": ["meetingTimeSuggestions", "value", "data"], "collectionName": "meetingTimeSuggestions", "itemFields": [{ "name": "confidence" }, { "name": "organizerAvailability" }, { "name": "attendeeAvailability", "kind": "object" }, { "name": "meetingTimeSlot", "kind": "object" }, { "name": "locations", "kind": "object" }, { "name": "suggestionReason", "maxLength": 300 }], "omitted": "provider-specific meeting suggestion diagnostics" } } } }], "prompts": [{ "id": "check_emails", "title": "Check my emails", "prompt": "List my recent unread emails and summarize the most important ones.", "category": "productivity", "icon": "mail" }, { "id": "search_emails", "title": "Search my emails", "prompt": "Search my emails for specific topics, senders, or date ranges.", "category": "productivity", "icon": "search" }, { "id": "draft_email", "title": "Draft an email", "prompt": "Help me draft a professional email with proper formatting and tone.", "category": "productivity", "icon": "compose" }], "suggestedWith": ["teams", "calendar", "gmail"] },
23
23
  { "name": "posthog", "displayName": "PostHog", "icon": "posthog.svg", "description": "Access analytics, feature flags, and user insights from PostHog", "auth": { "type": "api-key", "requiredApis": [{ "name": "PostHog API", "enableUrl": "https://app.posthog.com/project/settings" }], "keyName": "POSTHOG_API_KEY", "headerName": "Authorization", "headerPrefix": "Bearer" }, "envVars": [{ "name": "POSTHOG_API_KEY", "description": "PostHog Personal API Key", "required": true, "sensitive": true, "docsUrl": "https://posthog.com/docs/api/overview" }, { "name": "POSTHOG_HOST", "description": "PostHog API host (defaults to https://app.posthog.com)", "required": false, "sensitive": false, "docsUrl": "https://posthog.com/docs/self-host" }], "tools": [{ "id": "get_trends", "name": "Get Trends", "description": "Retrieve event trends and analytics data", "requiresWrite": false }, { "id": "list_feature_flags", "name": "List Feature Flags", "description": "List all feature flags in your PostHog project", "requiresWrite": false }, { "id": "list_persons", "name": "List Persons", "description": "List persons/users tracked in PostHog", "requiresWrite": false }, { "id": "capture_event", "name": "Capture Event", "description": "Track a custom event in PostHog", "requiresWrite": true }], "prompts": [{ "id": "trend_analysis", "title": "Trend analysis", "prompt": "Show me the trends for key events in my PostHog project over the last 7 days.", "category": "analytics", "icon": "chart" }, { "id": "feature_flag_status", "title": "Feature flag status", "prompt": "List all active feature flags and their current rollout status.", "category": "analytics", "icon": "flag" }, { "id": "user_insights", "title": "User insights", "prompt": "Give me insights about recent user activity and top users in my PostHog project.", "category": "analytics", "icon": "users" }], "suggestedWith": ["slack", "analytics", "monitoring"] },
24
24
  { "name": "salesforce", "displayName": "Salesforce", "icon": "salesforce.svg", "description": "Manage accounts, contacts, opportunities, and leads in your Salesforce CRM", "auth": { "type": "oauth2", "provider": "salesforce", "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize", "tokenUrl": "https://login.salesforce.com/services/oauth2/token", "scopes": ["api", "refresh_token", "offline_access"], "tokenAuthMethod": "request_body", "requiredApis": [{ "name": "Salesforce Connected App", "enableUrl": "https://login.salesforce.com/" }] }, "envVars": [{ "name": "SALESFORCE_CLIENT_ID", "description": "Salesforce OAuth Consumer Key (from your Connected App)", "required": true, "sensitive": false, "docsUrl": "https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm" }, { "name": "SALESFORCE_CLIENT_SECRET", "description": "Salesforce OAuth Consumer Secret", "required": true, "sensitive": true, "docsUrl": "https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm" }], "tools": [{ "id": "list_accounts", "name": "List Accounts", "description": "List accounts from your Salesforce CRM", "requiresWrite": false, "endpoint": { "method": "GET", "url": "{{oauth.raw.instance_url}}/services/data/v61.0/query", "params": { "q": { "type": "string", "in": "query", "description": "SOQL query for accounts", "default": "SELECT Id, Name, Type, Industry, Phone, Website FROM Account ORDER BY LastModifiedDate DESC LIMIT 50" } }, "response": { "transform": "records" } } }, { "id": "get_account", "name": "Get Account", "description": "Get detailed information about a specific account", "requiresWrite": false, "endpoint": { "method": "GET", "url": "{{oauth.raw.instance_url}}/services/data/v61.0/sobjects/Account/{accountId}", "params": { "accountId": { "type": "string", "in": "path", "description": "Salesforce Account ID", "required": true } } } }, { "id": "list_contacts", "name": "List Contacts", "description": "List contacts from your Salesforce CRM", "requiresWrite": false, "endpoint": { "method": "GET", "url": "{{oauth.raw.instance_url}}/services/data/v61.0/query", "params": { "q": { "type": "string", "in": "query", "description": "SOQL query for contacts", "default": "SELECT Id, FirstName, LastName, Email, Phone, AccountId FROM Contact ORDER BY LastModifiedDate DESC LIMIT 50" } }, "response": { "transform": "records" } } }, { "id": "list_opportunities", "name": "List Opportunities", "description": "List sales opportunities from your Salesforce CRM", "requiresWrite": false, "endpoint": { "method": "GET", "url": "{{oauth.raw.instance_url}}/services/data/v61.0/query", "params": { "q": { "type": "string", "in": "query", "description": "SOQL query for opportunities", "default": "SELECT Id, Name, StageName, Amount, CloseDate, AccountId FROM Opportunity ORDER BY CloseDate DESC LIMIT 50" } }, "response": { "transform": "records" } } }, { "id": "create_lead", "name": "Create Lead", "description": "Create a new lead in Salesforce CRM", "requiresWrite": true, "endpoint": { "method": "POST", "url": "{{oauth.raw.instance_url}}/services/data/v61.0/sobjects/Lead", "body": { "LastName": { "type": "string", "description": "Lead last name", "required": true }, "Company": { "type": "string", "description": "Lead company", "required": true }, "FirstName": { "type": "string", "description": "Lead first name" }, "Email": { "type": "string", "description": "Lead email address" }, "Phone": { "type": "string", "description": "Lead phone number" }, "Status": { "type": "string", "description": "Lead status" } } } }], "prompts": [{ "id": "find_accounts", "title": "Find accounts", "prompt": "Search for accounts in my Salesforce CRM and show me their key information.", "category": "crm", "icon": "search" }, { "id": "create_lead", "title": "Create a lead", "prompt": "Create a new lead in Salesforce CRM with the information I provide.", "category": "crm", "icon": "plus" }, { "id": "pipeline_summary", "title": "Pipeline summary", "prompt": "Show me a summary of my current sales opportunities and pipeline status.", "category": "crm", "icon": "chart" }, { "id": "contact_lookup", "title": "Contact lookup", "prompt": "Find and display information about specific contacts in my Salesforce CRM.", "category": "crm", "icon": "user" }], "suggestedWith": ["gmail", "slack", "calendar"] },
25
25
  { "name": "sentry", "displayName": "Sentry", "icon": "sentry.svg", "description": "Monitor errors, track issues, and manage Sentry projects", "auth": { "type": "oauth2", "provider": "sentry", "authorizationUrl": "https://sentry.io/oauth/authorize/", "tokenUrl": "https://sentry.io/oauth/token/", "scopes": ["org:read", "project:read", "event:read", "event:write"], "tokenAuthMethod": "none", "pkce": true, "supportsRefreshToken": true, "requiredApis": [{ "name": "Sentry OAuth Application", "enableUrl": "https://sentry.io/settings/account/api/applications/" }] }, "envVars": [{ "name": "SENTRY_CLIENT_ID", "description": "Sentry OAuth Client ID from your public OAuth application", "required": true, "sensitive": false, "docsUrl": "https://docs.sentry.io/api/auth/" }, { "name": "SENTRY_ORG", "description": "Default Sentry organization slug for prompts that do not specify one", "required": false, "sensitive": false, "docsUrl": "https://docs.sentry.io/api/organizations/" }], "tools": [{ "id": "list_organizations", "name": "List Organizations", "description": "List Sentry organizations available to the authenticated user so agents can discover organization slugs before project or issue calls", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://sentry.io/api/0/organizations/", "params": { "owner": { "type": "boolean", "in": "query", "description": "Restrict results to organizations where the authenticated user is an owner" }, "query": { "type": "string", "in": "query", "description": "Filter organizations by name, slug, status, id, email, or member id" }, "cursor": { "type": "string", "in": "query", "description": "Pagination cursor" } } } }, { "id": "list_projects", "name": "List Projects", "description": "List Sentry projects for an organization", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://sentry.io/api/0/organizations/{organizationSlug}/projects/", "params": { "organizationSlug": { "type": "string", "in": "path", "description": "Sentry organization slug", "required": true }, "cursor": { "type": "string", "in": "query", "description": "Pagination cursor" } } } }, { "id": "list_issues", "name": "List Issues", "description": "List Sentry issues for a project", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://sentry.io/api/0/projects/{organizationSlug}/{projectSlug}/issues/", "params": { "organizationSlug": { "type": "string", "in": "path", "description": "Sentry organization slug", "required": true }, "projectSlug": { "type": "string", "in": "path", "description": "Sentry project slug", "required": true }, "query": { "type": "string", "in": "query", "description": "Sentry issue search query, for example is:unresolved" }, "statsPeriod": { "type": "string", "in": "query", "description": "Stats period, for example 24h, 14d, or 30d" }, "limit": { "type": "number", "in": "query", "description": "Maximum number of issues to return" }, "cursor": { "type": "string", "in": "query", "description": "Pagination cursor" } } } }, { "id": "get_issue", "name": "Get Issue", "description": "Get details for a Sentry issue", "requiresWrite": false, "endpoint": { "method": "GET", "url": "https://sentry.io/api/0/organizations/{organizationSlug}/issues/{issueId}/", "params": { "organizationSlug": { "type": "string", "in": "path", "description": "Sentry organization slug", "required": true }, "issueId": { "type": "string", "in": "path", "description": "Sentry issue ID", "required": true }, "collapse": { "type": "string[]", "in": "query", "description": "Optional response sections to collapse" } } } }, { "id": "resolve_issue", "name": "Resolve Issue", "description": "Resolve a Sentry issue", "requiresWrite": true, "endpoint": { "method": "PUT", "url": "https://sentry.io/api/0/organizations/{organizationSlug}/issues/{issueId}/", "params": { "organizationSlug": { "type": "string", "in": "path", "description": "Sentry organization slug", "required": true }, "issueId": { "type": "string", "in": "path", "description": "Sentry issue ID", "required": true } }, "body": { "status": { "type": "string", "description": "New issue status", "default": "resolved" }, "statusDetails": { "type": "object", "description": "Optional Sentry status details" } } } }], "prompts": [{ "id": "check_errors", "title": "Check recent errors", "prompt": "Show me recent errors and issues in my Sentry projects and help me prioritize which ones to fix.", "category": "development", "icon": "alert-triangle" }, { "id": "analyze_issue", "title": "Analyze an issue", "prompt": "Help me analyze a specific Sentry issue, understand its root cause, and suggest a fix.", "category": "development", "icon": "bug" }, { "id": "project_health", "title": "Project health check", "prompt": "Give me an overview of the health of my Sentry projects, including error rates and trending issues.", "category": "analytics", "icon": "activity" }], "suggestedWith": ["github", "slack", "linear"], "category": "development" },
@@ -115,6 +115,7 @@ export declare const getIntegrationEndpointParamSchema: () => import("../interna
115
115
  description: import("../internal-agents/schema.js").Schema<string>;
116
116
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
117
117
  default: import("../internal-agents/schema.js").Schema<unknown>;
118
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
118
119
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
119
120
  }>>;
120
121
  export declare const IntegrationEndpointParamSchema: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
@@ -123,6 +124,7 @@ export declare const IntegrationEndpointParamSchema: import("../internal-agents/
123
124
  description: import("../internal-agents/schema.js").Schema<string>;
124
125
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
125
126
  default: import("../internal-agents/schema.js").Schema<unknown>;
127
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
126
128
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
127
129
  }>>;
128
130
  export declare const getIntegrationEndpointBodyFieldSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
@@ -204,6 +206,7 @@ export declare const getIntegrationEndpointSchema: () => import("../internal-age
204
206
  description: import("../internal-agents/schema.js").Schema<string>;
205
207
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
206
208
  default: import("../internal-agents/schema.js").Schema<unknown>;
209
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
207
210
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
208
211
  }>> | undefined>;
209
212
  body: import("../internal-agents/schema.js").Schema<Record<string, import("../extensions/schema/schema-validator.js").InferShape<{
@@ -251,6 +254,7 @@ export declare const IntegrationEndpointSchema: import("../internal-agents/schem
251
254
  description: import("../internal-agents/schema.js").Schema<string>;
252
255
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
253
256
  default: import("../internal-agents/schema.js").Schema<unknown>;
257
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
254
258
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
255
259
  }>> | undefined>;
256
260
  body: import("../internal-agents/schema.js").Schema<Record<string, import("../extensions/schema/schema-validator.js").InferShape<{
@@ -304,6 +308,7 @@ export declare const getIntegrationToolSchema: () => import("../internal-agents/
304
308
  description: import("../internal-agents/schema.js").Schema<string>;
305
309
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
306
310
  default: import("../internal-agents/schema.js").Schema<unknown>;
311
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
307
312
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
308
313
  }>> | undefined>;
309
314
  body: import("../internal-agents/schema.js").Schema<Record<string, import("../extensions/schema/schema-validator.js").InferShape<{
@@ -359,6 +364,7 @@ export declare const IntegrationToolSchema: import("../internal-agents/schema.js
359
364
  description: import("../internal-agents/schema.js").Schema<string>;
360
365
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
361
366
  default: import("../internal-agents/schema.js").Schema<unknown>;
367
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
362
368
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
363
369
  }>> | undefined>;
364
370
  body: import("../internal-agents/schema.js").Schema<Record<string, import("../extensions/schema/schema-validator.js").InferShape<{
@@ -485,6 +491,7 @@ export declare const getIntegrationConfigSchema: () => import("../internal-agent
485
491
  description: import("../internal-agents/schema.js").Schema<string>;
486
492
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
487
493
  default: import("../internal-agents/schema.js").Schema<unknown>;
494
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
488
495
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
489
496
  }>> | undefined>;
490
497
  body: import("../internal-agents/schema.js").Schema<Record<string, import("../extensions/schema/schema-validator.js").InferShape<{
@@ -608,6 +615,7 @@ export declare const IntegrationConfigSchema: import("../internal-agents/schema.
608
615
  description: import("../internal-agents/schema.js").Schema<string>;
609
616
  required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
610
617
  default: import("../internal-agents/schema.js").Schema<unknown>;
618
+ queryName: import("../internal-agents/schema.js").Schema<string | undefined>;
611
619
  headerName: import("../internal-agents/schema.js").Schema<string | undefined>;
612
620
  }>> | undefined>;
613
621
  body: import("../internal-agents/schema.js").Schema<Record<string, import("../extensions/schema/schema-validator.js").InferShape<{
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAqDjE,eAAO,MAAM,wBAAwB,6mBAAgD,CAAC;AACtF,uCAAuC;AACvC,eAAO,MAAM,qBAAqB,umBAAuC,CAAC;AAE1E,eAAO,MAAM,eAAe;;;;;;;;GAU3B,CAAC;AACF,8BAA8B;AAC9B,eAAO,MAAM,YAAY;;;;;;;;GAA8B,CAAC;AAExD,eAAO,MAAM,mBAAmB;;;;;;;GAS/B,CAAC;AACF,kCAAkC;AAClC,eAAO,MAAM,gBAAgB;;;;;;;GAAkC,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BhC,CAAC;AACF,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;AACF,kDAAkD;AAClD,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC;AAC3F,yCAAyC;AACzC,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC"}
@@ -107,6 +107,9 @@ export const getIntegrationEndpointParamSchema = defineSchema((v) => v.object({
107
107
  description: v.string(),
108
108
  required: v.boolean().optional(),
109
109
  default: v.unknown().optional(),
110
+ // For query params only: the HTTP query parameter name to send when it differs
111
+ // from the agent-facing parameter key (e.g. input query -> query param $search).
112
+ queryName: v.string().optional(),
110
113
  // For header params only: the HTTP header name to send when it differs from
111
114
  // the agent-facing parameter key (e.g. input account_id → header Harvest-Account-Id).
112
115
  headerName: v.string().optional(),
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.663";
2
+ export declare const VERSION = "0.1.665";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.663";
4
+ export const VERSION = "0.1.665";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.663",
3
+ "version": "0.1.665",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",