withdraw_model_share
Withdraw a model share: action=‘reject’ a pending request, or action=‘revoke’ an accepted share. action=‘reject’: caller must have Owner or Editor access to the suggested target model in the acting workspace (your current one, or workspace_id if passed — must be the request’s target tenant; OAuth/JWT sessions only). If the target model does not yet exist, workspace Owner role is also accepted.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
action | Annotated[Literal['reject', 'revoke'], Field(description="Which withdrawal to perform: 'reject' a pending request, or 'revoke' an accepted share.")] | Yes | — | |
request_id | Annotated[str, Field(description='UUID of the model share request.')] | Yes | — | |
workspace_id | `Annotated[str | None, Field(description=“Optional UUID of a workspace other than your current one to act from. For action=‘reject’, must be the request’s target tenant. For action=‘revoke’, whichever of your workspaces is the request’s source or target. Omit to use your current workspace. Cross-workspace targeting requires an active membership in that workspace and is only available to OAuth/JWT sessions — API tokens stay scoped to their issuing workspace. The response echoes workspace_id so you can reuse it on follow-up calls.”)]` | No | None |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
request_id(string)status(string)updated_at(string)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "withdraw_model_share", "arguments": { "action": "reject", "request_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" }}Response
Section titled “Response”{ "request_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", "status": "rejected", "updated_at": "2026-04-28T10:00:00+00:00"}- Module:
Sharing - Requires authentication via API token or Auth0 JWT.