{ "name": "ManageAirtableSharing", "fully_qualified_name": "AirtableApi.ManageAirtableSharing@2.0.0", "description": "Update and manage the share state of an Airtable base.\n\nUse this tool to modify the sharing configuration for a specific Airtable base. It's useful for changing user access or permissions associated with the base.", "toolkit": { "name": "ArcadeAirtableApi", "description": null, "version": "2.0.0" }, "input": { "parameters": [ { "name": "airtable_base_id", "required": true, "description": "The unique identifier for the Airtable base to manage its share state.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "baseId" }, { "name": "share_identifier", "required": true, "description": "The unique identifier for the share configuration to modify in Airtable. It specifies which share state needs to be managed.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "shareId" }, { "name": "share_state_request", "required": false, "description": "A JSON object specifying the sharing state ('enabled' or 'disabled') for an Airtable base.", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "state": { "val_type": "string", "inner_val_type": null, "enum": [ "enabled", "disabled" ], "properties": null, "inner_properties": null, "description": "When _enabling_ a share a user is subject to\n[sharing restrictions](https://support.airtable.com/docs/workspace-sharing-restrictions).\nThese restrictions are not applicable when disabling a share." } }, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "requestBody" } ] }, "output": { "description": "Response from the API endpoint 'manage-share'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-airtable", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "workspacesAndBases.shares:manage" ] } }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.1.0", "description": "Tools that enable LLMs to interact directly with the airtable API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "https://api.airtable.com/v0/meta/bases/{baseId}/shares/{shareId}", "http_method": "PATCH", "headers": {}, "parameters": [ { "name": "baseId", "tool_parameter_name": "airtable_base_id", "description": "", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "shareId", "tool_parameter_name": "share_identifier", "description": "", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "requestBody", "tool_parameter_name": "share_state_request", "description": "", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "state": { "val_type": "string", "inner_val_type": null, "enum": [ "enabled", "disabled" ], "properties": null, "inner_properties": null, "description": "When _enabling_ a share a user is subject to\n[sharing restrictions](https://support.airtable.com/docs/workspace-sharing-restrictions).\nThese restrictions are not applicable when disabling a share." } }, "inner_properties": null, "description": "" }, "accepted_as": "body", "required": false, "deprecated": false, "default": null, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ], "request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Example Request\": {\n \"description\": \"Example Request\",\n \"summary\": \"Example Request\",\n \"value\": {\n \"state\": \"disabled\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"state\": {\n \"description\": \"When _enabling_ a share a user is subject to\\n[sharing restrictions](https://support.airtable.com/docs/workspace-sharing-restrictions).\\nThese restrictions are not applicable when disabling a share.\",\n \"enum\": [\n \"enabled\",\n \"disabled\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"state\"\n ],\n \"type\": \"object\"\n }\n }\n }\n}", "use_request_body_schema_mode": true, "validate_request_body_schema": true } }