agent-tool-mcp / Exports / IRelayMcpOptions
Interface: IRelayMcpOptions
Table of contents
Properties
Properties
schema
• schema: IToolSchema
MCP schema describing this relay tool
Defined in
run
• run: (parameters: TToolParameters, ctx: IRelayMcpContext) => Promise<IToolResult>
Relay executor that performs the actual work (e.g., create Robota agent and run). Must not perform ownerPath inference; receives the augmented agent ownerPath.
Type declaration
▸ (parameters, ctx): Promise<IToolResult>
Parameters
| Name | Type |
|---|---|
parameters | TToolParameters |
ctx | IRelayMcpContext |
Returns
Promise<IToolResult>