Method

FoundryAcpClientrequest_permission

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_acp_client_request_permission (
  FoundryAcpClient* self,
  FoundryAcpSession* session,
  FoundryAcpPermissionRequest* request
)

Description [src]

Requests permission for an agent tool call.

The returned future must resolve to a FoundryAcpPermissionResponse.

Available since: 1.2

Parameters

session

Type: FoundryAcpSession

A FoundryAcpSession.

The data is owned by the caller of the method.
request

Type: FoundryAcpPermissionRequest

A FoundryAcpPermissionRequest.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.