Sends a request to the client by ACP method name.
Built-in method literals infer their params and response types. Custom methods can specify their response and params types with generics.
Optionaloptions: SendRequestOptionsSends a request to the client by ACP method name.
Built-in method literals infer their params and response types. Custom methods can specify their response and params types with generics.
Optionalparams: ParamsOptionaloptions: SendRequestOptionsSends a notification to the client by ACP method name.
Built-in method literals infer their params type. Custom notifications can specify their params type with a generic.
Sends a notification to the client by ACP method name.
Built-in method literals infer their params type. Custom notifications can specify their params type with a generic.
Optionalparams: Params
Context passed to agent-side handlers.
Agents use this context to call client-side ACP methods while handling requests such as
session/prompt.