Hosted agent identifier and API connection settings.
Releases local remote-agent state.
Runs the remote agent and returns its final text.
Input and per-run execution settings.
Final agent text.
Runs the remote agent and parses its result with options.schema.
Input, schema, and per-run execution settings.
The schema-validated result.
Runs the remote agent and returns a promise for the final result.
OptionalmaxSteps: numberOptionalmanageConnector: booleanOptionalexternalHistory: BaseMessage[]OptionaloutputSchema: ZodType<T, unknown, $ZodTypeInternals<T, unknown>>Runs the remote agent through an async-generator interface.
The current remote API does not emit intermediate values. Read the generator's return value for the final result.
Input and per-run execution settings.
An async generator whose return value is the final text.
Runs structured remote execution through an async-generator interface.
Input, schema, and per-run execution settings.
An async generator whose return value is schema validated.
Streams the remote agent execution.
OptionalmaxSteps: numberOptionalmanageConnector: booleanOptionalexternalHistory: BaseMessage[]OptionaloutputSchema: ZodType<T, unknown, $ZodTypeInternals<T, unknown>>
Executes a hosted MCP agent through the mcp-use remote API.