@node-in-layers/mcp
    Preparing search index...

    Function parseExecuteData

    • Parses the express body object for an MCP tool call and returns the appropriate typed object, if its a valid MCP call.

      Parameters

      • body: any

        The body to parse.

      Returns
          | ExecuteFeatureData
          | ExecuteFunctionData
          | Readonly<{ args: any; toolName: any }> & Readonly<
              { action: any; domain: string; modelName: string; toolName: any },
          >
          | undefined

      The parsed data.