McpToolTriggerOptionsToRpc interface
Configuration options for an MCP Tool trigger. These options define the behavior and metadata for the trigger.
Properties
| description | A description of the tool or trigger. This provides additional context about the trigger's purpose. |
| metadata | JSON-serialized metadata object. Additional metadata about the tool in JSON format. |
| result |
Optional JSON-serialized JSON Schema describing the structured result of this tool. |
| tool |
The name of the tool associated with the trigger. This is typically an app setting or environment variable. |
| tool |
Additional properties or metadata for the tool. This is a dictionary of key-value pairs that can be used to configure the trigger. |
| use |
Always enabled so the host contract advertises structured-result support. |
Property Details
description
A description of the tool or trigger. This provides additional context about the trigger's purpose.
description: string
Property Value
string
metadata
JSON-serialized metadata object. Additional metadata about the tool in JSON format.
metadata?: string
Property Value
string
resultSchema
Optional JSON-serialized JSON Schema describing the structured result of this tool.
resultSchema?: string
Property Value
string
toolName
The name of the tool associated with the trigger. This is typically an app setting or environment variable.
toolName: string
Property Value
string
toolProperties
Additional properties or metadata for the tool. This is a dictionary of key-value pairs that can be used to configure the trigger.
toolProperties?: string
Property Value
string
useResultSchema
Always enabled so the host contract advertises structured-result support.
useResultSchema: boolean
Property Value
boolean