ExperimentalExperimental
JSON-RPC id of the request currently being handled.
This is undefined for notification handlers and for contexts created
outside an inbound request, such as connect(...) and connectWith(...).
Experimental
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: SendRequestOptionsExperimental
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.
Optionalparams: ParamsOptionaloptions: SendRequestOptionsExperimental
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.
Experimental
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: ParamsExperimental
Sends requests and notifications to the client as one JSON-RPC batch.
Experimental draft ACP v2 context passed to agent-side handlers.
Agents use this context to call client-side ACP methods while handling requests such as
session/prompt.