Skip to Content

Weaviate API

Weaviate API icon
Arcade Starter

Tools that enable LLMs to interact directly with the weaviate API.

Author:Arcade
Version:2.0.0
Auth:No authentication required
81tools
81require secrets
PyPI VersionPython VersionsWheel StatusDownloadsLicense

Arcade Toolkit provides tools to interface directly with the Weaviate API, enabling developers to manage and organize data efficiently. This toolkit is essential for working with databases within Weaviate, making it easier to handle complex operations.

Capabilities

  • Manage database users and roles, including assignment and permissions.
  • Perform batch operations for data objects and references, improving efficiency.
  • Create, update, and delete schemas and collections.
  • Monitor and manage backup and replication processes for data integrity and recovery.
  • Validate data object structures to ensure compliance with schema requirements.

Secrets

  • API Key: WEAVIATE_API_KEY
  • Server URL: WEAVIATE_SERVER_URL Use these secrets for authenticating and connecting to your Weaviate instance.

Available tools(81)

81 of 81
Tool nameDescriptionSecrets
Activate a deactivated database user account. Use this tool to activate a user with a `db` user type in the database. It should be called when re-enabling user access is needed.
2
Add new permissions to a role without affecting existing ones. Use this tool to assign additional permissions to a specified role within a system, ensuring that current permissions remain unchanged. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Add a new property to an existing collection schema. Use this tool to add a new property definition to a specified collection (className) within the schema. It is called when a new property needs to be incorporated into an existing data structure. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Add a reference to an object's property. This tool adds a new reference to a specified property of a data object. The object is identified by its class and UUID. Use this to link related objects within a dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Assign roles to a user in the system. Use this tool to assign one or more roles to a specific user, allowing flexibility in user permissions and access control.
2
Assign roles to a specific group. Use this tool to assign one or more roles to a designated group, identified by its ID.
2
Batch create cross-references between items in a collection. Use this tool to efficiently establish multiple cross-references between items in a collection at once. Ideal for handling large datasets where establishing individual links manually would be inefficient. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Register multiple data objects in a single request. This tool registers multiple data objects in one request for efficiency. It validates metadata and schema values for each object. The operation is idempotent, meaning if an object with a given UUID already exists, it will be overwritten. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancel a backup by its ID from a specified backend storage. Use this tool to delete a backup using its unique ID from a specified backend storage location, ensuring the backup is no longer retrievable.
2
Cancel an active replication operation by ID. Use this tool to request the cancellation of an ongoing replication operation specified by its ID. The operation is stopped and marked as 'CANCELLED' but is not automatically deleted.
2
Cancel an active replication operation. Use this tool to remove and cancel a specific replication operation. It ensures that active processes are halted and resources are cleaned up before deletion.
2
Check the status of a backup restoration process. Use this tool to manually check the status of a specific backup restoration on a given backend, using the backup ID. Ideal when automatic polling is disabled.
2
Get the current status of a backup creation process. Use this tool to manually check the status of a backup creation process by its ID on the specified backend. Ideal for when waiting for completion is disabled or not suitable.
2
Check if a role has specific permissions in the system. Use this tool to verify whether a particular role possesses certain permissions within the system. It should be called when there's a need to confirm role access rights. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Check if the Weaviate instance is running properly. Use this tool to perform a basic health check on a Weaviate instance, ensuring it is running and responding to HTTP requests. Useful for monitoring and maintenance tasks.
2
Check if the Weaviate instance is ready to accept traffic. Use this tool to determine if the Weaviate instance has completed its startup routines and is ready for operations such as data import and queries. Ideal for readiness checks in container orchestration contexts like Kubernetes.
2
Create a new alias for a collection in Weaviate. This tool creates a new alias mapping between an alias name and a collection (class) in Weaviate. Use it to set up alternative names for accessing collections.
2
Initiates backup creation for specified collections. This tool starts the process of creating a backup for the specified collections on a designated backend storage using Weaviate. The backup is compressed using gzip by default, and the system remains operational during the backup process. Use this tool when you need to ensure data is safely backed up without interrupting service.
2
Create a new database user and obtain an API key. This tool is used to create a new database user by specifying a name. It returns an API key for the created user.
2
Create a new data object in Weaviate. This tool creates a new data object in Weaviate, ensuring that the object's metadata and schema values are validated. It's useful for adding new data objects when there is no existing object with the same ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a new role with specified permissions. Use this tool to create a new role in the system and define its permissions. It should be called when there is a need to set up access controls for new role-based functionalities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a new collection (class) in Weaviate. This tool is used to define and create a new collection (class) in Weaviate. It provides explicit control over the schema definition, which is essential when `AutoSchema` is not relied upon. Use this tool to ensure accurate schema setup in a Weaviate instance. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create new tenants in a specified collection. Use this tool to create one or more new tenants for a specified collection when multi-tenancy is enabled. Useful for managing tenants within a Weaviate database. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Deactivate a database user account. Use this tool to deactivate a user with the type 'db' in the database. Provide the user ID to deactivate their account and prevent access to the database.
2
Delete an existing alias from the system. This tool removes an alias from the system without affecting the underlying collection. It should be called when an alias is no longer needed.
2
Page 1 of 4(25 of 81)

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

WeaviateApi.ActivateDatabaseUser

Activate a deactivated database user account. Use this tool to activate a user with a `db` user type in the database. It should be called when re-enabling user access is needed.

Parameters

ParameterTypeReq.Description
user_namestringRequiredThe name of the database user to activate.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'activateUser'.
#

WeaviateApi.AddPermissionsToRole

Add new permissions to a role without affecting existing ones. Use this tool to assign additional permissions to a specified role within a system, ensuring that current permissions remain unchanged. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
role_idstringOptionalThe ID of the role to which new permissions will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'addPermissions'.
#

WeaviateApi.AddPropertyToCollection

Add a new property to an existing collection schema. Use this tool to add a new property definition to a specified collection (className) within the schema. It is called when a new property needs to be incorporated into an existing data structure. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalThe name of the collection (class) to which the property will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.properties.add'.
#

WeaviateApi.AddReferenceToObject

Add a reference to an object's property. This tool adds a new reference to a specified property of a data object. The object is identified by its class and UUID. Use this to link related objects within a dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
source_class_namestringOptionalName of the collection (class) the source object belongs to. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
source_object_uuidstringOptionalUnique UUID identifying the source object to which the reference will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
reference_property_namestringOptionalUnique name of the reference property of the source object to which the reference will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
required_consistency_levelstringOptionalSpecifies the number of replicas that must acknowledge a request for it to be successful. Only used when mode is 'execute'.
tenant_identifierstringOptionalSpecifies the tenant for multi-tenant collection requests in a Weaviate class. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.references.create'.
#

WeaviateApi.AssignRolesToUser

Assign roles to a user in the system. Use this tool to assign one or more roles to a specific user, allowing flexibility in user permissions and access control.

Parameters

ParameterTypeReq.Description
user_namestringRequiredThe name or identifier of the user to assign roles to.
assigned_rolesarray<string>OptionalList of roles to assign to the specified user. Each role should be a string.
user_typestringOptionalSpecify the user type. Choose 'db' for Weaviate managed users or 'oidc' for users managed by an external OIDC provider.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'assignRoleToUser'.
#

WeaviateApi.AssignRoleToGroup

Assign roles to a specific group. Use this tool to assign one or more roles to a designated group, identified by its ID.

Parameters

ParameterTypeReq.Description
group_namestringRequiredThe name of the group to which roles will be assigned.
group_typestringOptionalIndicate if the group contains OIDC or database users. Choose 'oidc' for OIDC users.
roles_to_assignarray<string>OptionalA list of roles to assign to a specified group. Each role is a string.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'assignRoleToGroup'.
#

WeaviateApi.BatchCreateReferences

Batch create cross-references between items in a collection. Use this tool to efficiently establish multiple cross-references between items in a collection at once. Ideal for handling large datasets where establishing individual links manually would be inefficient. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
consistency_levelstringOptionalSpecifies the number of replicas needed to acknowledge a request for it to be deemed successful. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'batch.references.create'.
#

WeaviateApi.BatchRegisterObjects

Register multiple data objects in a single request. This tool registers multiple data objects in one request for efficiency. It validates metadata and schema values for each object. The operation is idempotent, meaning if an object with a given UUID already exists, it will be overwritten. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
consistency_levelstringOptionalSpecifies how many replicas must confirm a request for it to be successful. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'batch.objects.create'.
#

WeaviateApi.CancelBackup

Cancel a backup by its ID from a specified backend storage. Use this tool to delete a backup using its unique ID from a specified backend storage location, ensuring the backup is no longer retrievable.

Parameters

ParameterTypeReq.Description
backup_idstringRequiredThe unique ID of the backup to delete. Must be URL-safe, using lowercase, numbers, underscores, and minus characters.
storage_backend_systemstringRequiredSpecifies the backend storage system where the backup resides (e.g., 'filesystem', 'gcs', 's3', 'azure').
backup_subpathstringOptionalSpecifies the optional path within the storage if the backup is not at the root.
specified_bucket_namestringOptionalSpecifies the bucket, container, or volume name if required by the backend storage system. Optional parameter.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'backups.cancel'.
#

WeaviateApi.CancelReplication

Cancel an active replication operation by ID. Use this tool to request the cancellation of an ongoing replication operation specified by its ID. The operation is stopped and marked as 'CANCELLED' but is not automatically deleted.

Parameters

ParameterTypeReq.Description
replication_operation_idstringRequiredThe ID of the replication operation you wish to cancel. This is a string identifier for the specific operation.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'cancelReplication'.
#

WeaviateApi.CancelReplicationOperation

Cancel an active replication operation. Use this tool to remove and cancel a specific replication operation. It ensures that active processes are halted and resources are cleaned up before deletion.

Parameters

ParameterTypeReq.Description
replication_operation_idstringRequiredThe unique identifier of the replication operation to be canceled and deleted.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'deleteReplication'.
#

WeaviateApi.CheckBackupRestoreStatus

Check the status of a backup restoration process. Use this tool to manually check the status of a specific backup restoration on a given backend, using the backup ID. Ideal when automatic polling is disabled.

Parameters

ParameterTypeReq.Description
backend_storage_systemstringRequiredSpecifies the backend storage system where the backup resides, such as 'filesystem', 'gcs', 's3', or 'azure'.
backup_idstringRequiredThe URL-safe unique identifier of the backup being restored. Use lowercase, numbers, underscores, and minus characters only.
backup_bucket_namestringOptionalSpecifies the bucket, container, or volume name if required by the backend.
bucket_pathstringOptionalSpecifies the path within the bucket, optional based on backend requirements.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'backups.restore.status'.
#

WeaviateApi.CheckBackupStatus

Get the current status of a backup creation process. Use this tool to manually check the status of a backup creation process by its ID on the specified backend. Ideal for when waiting for completion is disabled or not suitable.

Parameters

ParameterTypeReq.Description
backup_backend_systemstringRequiredSpecifies the backend storage system where the backup resides, such as 'filesystem', 'gcs', 's3', or 'azure'.
backup_identifierstringRequiredThe unique identifier of the backup. Use only lowercase, numbers, underscores, and minus characters.
backup_storage_pathstringOptionalSpecifies the path within the bucket/container/volume if the backup is not at the root. Optional.
bucket_namestringOptionalSpecifies the bucket, container, or volume name if required by the backend.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'backups.create.status'.
#

WeaviateApi.CheckRolePermission

Check if a role has specific permissions in the system. Use this tool to verify whether a particular role possesses certain permissions within the system. It should be called when there's a need to confirm role access rights. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
role_namestringOptionalThe name of the role to check permissions for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'hasPermission'.
#

WeaviateApi.CheckWeaviateLiveness

Check if the Weaviate instance is running properly. Use this tool to perform a basic health check on a Weaviate instance, ensuring it is running and responding to HTTP requests. Useful for monitoring and maintenance tasks.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'weaviate.wellknown.liveness'.
#

WeaviateApi.CheckWeaviateReadiness

Check if the Weaviate instance is ready to accept traffic. Use this tool to determine if the Weaviate instance has completed its startup routines and is ready for operations such as data import and queries. Ideal for readiness checks in container orchestration contexts like Kubernetes.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'weaviate.wellknown.readiness'.
#

WeaviateApi.CreateAliasMapping

Create a new alias for a collection in Weaviate. This tool creates a new alias mapping between an alias name and a collection (class) in Weaviate. Use it to set up alternative names for accessing collections.

Parameters

ParameterTypeReq.Description
alias_namestringOptionalThe unique name of the alias, serving as an alternative identifier for the specified collection.
collection_class_namestringOptionalThe name of the collection (class) to which the alias is mapped.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'aliases.create'.
#

WeaviateApi.CreateBackup

Initiates backup creation for specified collections. This tool starts the process of creating a backup for the specified collections on a designated backend storage using Weaviate. The backup is compressed using gzip by default, and the system remains operational during the backup process. Use this tool when you need to ensure data is safely backed up without interrupting service.

Parameters

ParameterTypeReq.Description
backend_storage_systemstringRequiredSpecifies the backend storage system where the backup will be stored, such as `filesystem`, `gcs`, `s3`, or `azure`.
backup_chunk_sizeintegerOptionalSet the chunk size for the backup with a minimum of 2MB, default of 128MB, and a maximum of 512MB.
backup_idstringOptionalThe ID of the backup. Must be URL-safe, using only lowercase, numbers, underscore, and minus characters.
bucket_namestringOptionalName of the bucket, container, or volume where the backup will be stored.
bucket_pathstringOptionalSpecifies the path or key within the storage bucket. This helps in locating where the backup will be stored within the bucket.
collections_to_include_in_backuparray<string>OptionalList of collections to include in the backup. If not set, all collections are included. Cannot be used with `collections_to_exclude_in_backup`.
compression_levelstringOptionalSpecifies the compression level for the backup: DefaultCompression, BestSpeed, or BestCompression.
cpu_utilization_percentageintegerOptionalSets desired CPU core utilization, ranging from 1% to 80%, during backup creation.
exclude_collectionsarray<string>OptionalList of collections to exclude from the backup. Overrides include if both are set.
storage_endpoint_namestringOptionalName of the storage endpoint, such as s3.amazonaws.com, where the backup will be stored.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'backups.create'.
#

WeaviateApi.CreateDatabaseUser

Create a new database user and obtain an API key. This tool is used to create a new database user by specifying a name. It returns an API key for the created user.

Parameters

ParameterTypeReq.Description
user_namestringRequiredSpecify the name for the new database user. It should be a string that identifies the user.
disable_import_experimentalbooleanOptionalSet to true to prevent importing an API key from a static user. Experimental and will be removed.
set_creation_time_experimentalstringOptionalEXPERIMENTAL: Set the given time as creation time. This will be removed in future versions.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'createUser'.
#

WeaviateApi.CreateObjectInWeaviate

Create a new data object in Weaviate. This tool creates a new data object in Weaviate, ensuring that the object's metadata and schema values are validated. It's useful for adding new data objects when there is no existing object with the same ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
consistency_level_replica_acknowledgementstringOptionalSpecifies the number of replicas that must confirm the request for it to be successful. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.create'.
#

WeaviateApi.CreateRoleWithPermissions

Create a new role with specified permissions. Use this tool to create a new role in the system and define its permissions. It should be called when there is a need to set up access controls for new role-based functionalities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'createRole'.
#

WeaviateApi.CreateSchemaObject

Create a new collection (class) in Weaviate. This tool is used to define and create a new collection (class) in Weaviate. It provides explicit control over the schema definition, which is essential when `AutoSchema` is not relied upon. Use this tool to ensure accurate schema setup in a Weaviate instance. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.create'.
#

WeaviateApi.CreateTenants

Create new tenants in a specified collection. Use this tool to create one or more new tenants for a specified collection when multi-tenancy is enabled. Useful for managing tenants within a Weaviate database. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalThe name of the multi-tenant enabled collection for creating tenants. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'tenants.create'.
#

WeaviateApi.DeactivateDatabaseUser

Deactivate a database user account. Use this tool to deactivate a user with the type 'db' in the database. Provide the user ID to deactivate their account and prevent access to the database.

Parameters

ParameterTypeReq.Description
database_user_idstringRequiredThe unique identifier for the database user to be deactivated.
revoke_api_keybooleanOptionalRevoke the user's API key when deactivating. Set to true to enable.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'deactivateUser'.
#

WeaviateApi.DeleteAlias

Delete an existing alias from the system. This tool removes an alias from the system without affecting the underlying collection. It should be called when an alias is no longer needed.

Parameters

ParameterTypeReq.Description
alias_namestringRequiredThe name of the alias to be deleted. This identifier specifies which alias mapping to remove from the system.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'aliases.delete'.
#

WeaviateApi.DeleteAllReplications

Schedule deletion of all replication operations across the system. This tool is used to schedule the deletion of all replication operations across all collections, shards, and nodes. It should be called when you need to clear all replication tasks in the system.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'deleteAllReplications'.
#

WeaviateApi.DeleteDatabaseUser

Delete a specific database user. This tool deletes a specified user from the database. It should be called when there is a need to remove a user, except the current active user.

Parameters

ParameterTypeReq.Description
user_identifierstringRequiredSpecify the name of the user you want to delete. This cannot be the current user.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'deleteUser'.
#

WeaviateApi.DeleteDataObject

Delete a data object from a specified collection using its UUID. Use this tool to remove a specific data object from a Weaviate collection, identified by its `className` and `id` (UUID). Useful for managing data within a Weaviate instance.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredName of the collection (class) the object belongs to.
object_uuidstringRequiredUnique UUID of the object to be deleted from the collection.
replica_acknowledgment_levelstringOptionalSpecifies the number of replicas needed to confirm request success.
tenant_identifierstringOptionalSpecifies the tenant when targeting a multi-tenant collection (class).

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.delete'.
#

WeaviateApi.DeleteMultipleObjects

Deletes multiple data objects using specified filter criteria. This tool removes data objects based on a filter. Use it when you need to delete multiple objects that match specific criteria within the limit. The deletion is performed in the order objects match the filter. If you need to delete beyond the limit, repeat the process until finished. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
replica_acknowledgement_levelstringOptionalSpecifies the number of replicas that must confirm the request for it to be deemed successful. Only used when mode is 'execute'.
target_tenantstringOptionalSpecifies the tenant when targeting a multi-tenant collection. Use the tenant's unique identifier. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'batch.objects.delete'.
#

WeaviateApi.DeleteReferenceFromObject

Delete a specific reference from an object's property. Use this tool to remove a reference from a specific property of a data object in a collection, identified by its class name and UUID. Call this tool when you need to delete a reference from an object's property. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalName of the collection (class) the source object belongs to. This identifies where the object is located. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
source_object_uuidstringOptionalUnique UUID of the source object from which the reference will be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
reference_property_namestringOptionalUnique name of the reference property of the source object from which to delete the reference. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
required_consistency_levelstringOptionalSpecifies how many replicas must acknowledge the request for success. Only used when mode is 'execute'.
tenant_identifierstringOptionalSpecifies the tenant in a request targeting a multi-tenant collection (class). Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.references.delete'.
#

WeaviateApi.DeleteRole

Delete a role and revoke its permissions system-wide. Use this tool to delete a role from the system, removing it and revoking the associated permissions from all users who had it.

Parameters

ParameterTypeReq.Description
role_namestringRequiredSpecify the name of the role to be deleted and revoked from users.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'deleteRole'.
#

WeaviateApi.DeleteSchemaCollection

Permanently delete a collection from the schema. Call this tool to remove a collection definition and all its data objects from the schema permanently.

Parameters

ParameterTypeReq.Description
collection_name_to_deletestringRequiredThe name of the collection (class) that will be permanently deleted from the schema.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.delete'.
#

WeaviateApi.DeleteTenants

Permanently delete specified tenants from a collection. Use this tool to delete one or more tenants from a specified collection in Weaviate. This action is irreversible and will remove all data related to the specified tenants.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredThe name of the collection from which to delete tenants.
tenant_names_to_deletearray<string>RequiredAn array of tenant names to permanently delete from the specified collection.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'tenants.delete'.
#

WeaviateApi.DiscoverApiEndpoints

Retrieve links to available REST API endpoints. This tool fetches links to other endpoints within the REST API, aiding in the discovery and navigation of the available API options.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'weaviate.root'.
#

WeaviateApi.ExecuteGraphqlBatchQueries

Execute multiple GraphQL queries in a single request. Executes multiple GraphQL queries sent in a single network request for efficiency. Ideal for performing batch queries in Weaviate. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'graphql.batch'.
#

WeaviateApi.FetchReplicationStatus

Retrieve the status of a specific replication operation. Use this tool to get current status and detailed information about a replication operation by its unique ID. It can optionally include historical progress data of the operation.

Parameters

ParameterTypeReq.Description
replication_operation_idstringRequiredThe unique identifier for the replication operation to fetch details for.
include_historybooleanOptionalSet to true to include the history of the replication operation.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'replicationDetails'.
#

WeaviateApi.FetchRoleByName

Fetch role details using its name. This tool retrieves the details of a specific role by its name from the Weaviate service. It should be called when information about a role is required, typically for authorization or configuration purposes.

Parameters

ParameterTypeReq.Description
role_namestringRequiredThe name of the role to fetch details for.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getRole'.
#

WeaviateApi.FetchShardingState

Fetch the current sharding state and replica details for collections. This tool retrieves the current sharding state for all collections or a specified collection, including replica locations and statuses. If needed, it can also provide the state for a specific shard within a collection.

Parameters

ParameterTypeReq.Description
collection_namestringOptionalThe name of the collection to retrieve the sharding state for.
target_shardstringOptionalSpecify the shard name to retrieve its sharding state in a collection.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getCollectionShardingState'.
#

WeaviateApi.ForceDeleteReplications

Forcefully delete replication operations with caution. This tool is used to forcefully delete operations from the FSM in Weaviate. It should be called when there is a need to remove replication operations without performing state checks, which may lead to data corruption or loss. Ensure replication engine workers are scaled to 0 before using this to prevent in-flight operations.

Parameters

ParameterTypeReq.Description
collection_namestringOptionalThe name of the collection associated with the shard being replicated.
dry_runbooleanOptionalWhen set to true, the operation simulates the deletion and returns the expected result without executing it.
replication_operation_idstringOptionalThe unique identifier (ID) of the replication operation to be forcefully deleted.
shard_identifierstringOptionalThe unique identifier of the shard involved in the replication operations.
target_node_namestringOptionalThe name of the target node where replication operations are registered.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'forceDeleteReplications'.
#

WeaviateApi.GetAuthenticatedUserInfo

Retrieve details about the authenticated user and their roles. This tool retrieves information about the current user, including their username and assigned roles, from the authenticated session.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getOwnInfo'.
#

WeaviateApi.GetClassificationStatus

Retrieve status and results of a classification task. Use this tool to obtain the status, metadata, and results of an ongoing or completed classification task by providing its unique ID.

Parameters

ParameterTypeReq.Description
classification_task_idstringRequiredThe unique identifier (UUID) of the classification task to retrieve its status and results.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'classifications.get'.
#

WeaviateApi.GetClusterNodeStatus

Retrieve status information about all nodes in a cluster. Fetches status details for all nodes in the cluster, with adjustable detail level using the output parameter.

Parameters

ParameterTypeReq.Description
output_verbositystringOptionalControls the verbosity of the output for node status information. Accepted values: `minimal`, `verbose`. Defaults to `minimal`.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'nodes.get'.
#

WeaviateApi.GetCollectionShardStatus

Retrieves status of shards for a specified collection. Use this tool to get the status of all shards associated with a specific collection (`className`) in Weaviate. For multi-tenant collections, specify the `tenant` query parameter to retrieve shard status for a particular tenant.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredThe name of the collection (class) whose shards to query.
tenant_namestringOptionalThe name of the tenant for retrieving shard statuses, applicable only for multi-tenant collections.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.shards.get'.
#

WeaviateApi.GetCollectionTenants

Retrieve tenants for a specified collection. This tool retrieves a list of all tenants associated with a given collection. Call this tool to obtain tenant information for a specified collection in the Weaviate service.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredThe name of the collection (class) whose tenants to list.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'tenants.get'.
#

WeaviateApi.GetDatabaseUserInfo

Retrieve information about a specific database user. Use this tool to get detailed information about a database user, including their roles, status, and type. Call this tool when you need to know specific details about a database user's profile or attributes.

Parameters

ParameterTypeReq.Description
database_user_namestringRequiredThe unique identifier or name of the database user to retrieve information for.
include_last_used_timebooleanOptionalSet to true to include the last used time in the user's information.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getUserInfo'.
#

WeaviateApi.GetDataObject

Retrieve a data object using collection name and UUID.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredName of the collection (class) the object belongs to.
object_uuidstringRequiredUnique UUID of the object to be retrieved from the specified collection.
include_additional_informationstringOptionalSpecify additional info to include: `classification`, `vector`, or `interpretation`.
required_replica_acknowledgmentstringOptionalSpecifies how many replicas must confirm a request for success. Relates to consistency level.
target_node_namestringOptionalSpecify the target node to fulfill the request.
tenant_identifierstringOptionalSpecify the tenant for a multi-tenant collection request.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.get'.
#

WeaviateApi.GetGroupsForRole

Retrieve groups assigned to a specific role. Use this tool to get a list of all groups that have been assigned a particular role, identified by the role's name.

Parameters

ParameterTypeReq.Description
role_namestringRequiredThe unique name of the role to retrieve associated groups.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getGroupsForRole'.
#

WeaviateApi.GetOidcDiscovery

Fetches OIDC discovery details for Weaviate authentication. This tool retrieves OpenID Connect (OIDC) discovery information for Weaviate if OIDC authentication is configured. It provides essential details like the token issuer URL, client ID, and required scopes.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint ''.
#

WeaviateApi.GetRolesAndPermissions

Retrieve all roles and their assigned permissions. Use this tool to obtain detailed information on all roles and the specific permissions associated with each role.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getRoles'.
#

WeaviateApi.GetRolesForGroup

Retrieve roles assigned to a specific group. Fetches all roles associated with a group identified by its name and type (options: `db` or `oidc`).

Parameters

ParameterTypeReq.Description
group_namestringRequiredThe unique name of the group to retrieve roles for.
group_typestringRequiredSpecifies the type of the group, either 'db' or 'oidc'.
include_full_role_definitionsbooleanOptionalInclude full role definitions with all permissions if true; return only role names if false.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getRolesForGroup'.
#

WeaviateApi.GetShardHostNodesStatus

Retrieve status of nodes hosting shards for a collection. This tool fetches status information for nodes that host shards of a specified collection. Use it to monitor or diagnose the nodes in a distributed database cluster, customizing the level of detail with the `output` query parameter.

Parameters

ParameterTypeReq.Description
collection_class_namestringRequiredThe name of the collection (class) for which to retrieve node status.
output_verbositystringOptionalSet the verbosity of the output. Possible values: 'minimal', 'verbose'. Defaults to 'minimal'.
shard_namestringOptionalSpecifies the name of the shard for which to retrieve node status information. This helps to focus the request on specific shards within a collection.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'nodes.get.class'.
#

WeaviateApi.GetTenantDetails

Retrieve details about a specific tenant's status. Call this tool to get information about a specific tenant within a specified collection, including their current activity status.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredThe name of the collection (class) that contains the tenant.
tenant_namestringRequiredThe name of the tenant to retrieve details about within the specified collection.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'tenants.get.one'.
#

WeaviateApi.GetUserRoles

Retrieve all roles assigned to a specific user. Use this tool to get a list of all roles for a specified user, identified by their ID and user type (`db` or `oidc`).

Parameters

ParameterTypeReq.Description
user_idstringRequiredThe unique name or identifier of the user for whom roles are being retrieved.
user_typestringRequiredSpecify the user type: 'oidc' for OpenID Connect or 'db' for database.
include_detailed_role_informationbooleanOptionalSet to true to include detailed role information like assigned permissions.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getRolesForUser'.
#

WeaviateApi.GetUsersByRole

Retrieve users with a specific role assignment. Use to obtain a list of users assigned to a particular role by role ID.

Parameters

ParameterTypeReq.Description
role_idstringRequiredThe unique identifier for the role to fetch associated users.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getUsersForRole'.
#

WeaviateApi.GetWeaviateClusterStatistics

Get Weaviate cluster Raft protocol statistics. Use this tool to retrieve detailed statistics about the internal Raft consensus protocol state for a Weaviate cluster. This can help monitor the cluster's status and performance.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'cluster.get.statistics'.
#

WeaviateApi.GetWeaviateInstanceMeta

Get meta-information about a Weaviate instance. Use this tool to obtain details such as version, modules, and network hostname of a running Weaviate instance. Useful for monitoring, compatibility checks, or communication between instances.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'meta.get'.
#

WeaviateApi.InitiateClassificationTask

Initiate a classification task in the background. Use this tool to start a background classification task with specific parameters. This will initiate the process, and you can monitor its status and retrieve results using the GET /classifications/{id} endpoint. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'classifications.post'.
#

WeaviateApi.ListBackups

Retrieve all backup IDs and their statuses. Use this tool to get a list of all created backup IDs along with their current statuses. Useful for monitoring or managing backup data.

Parameters

ParameterTypeReq.Description
backend_storage_systemstringRequiredSpecifies the backend storage system to list backups from (e.g., `filesystem`, `gcs`, `s3`, `azure`).

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'backups.list'.
#

WeaviateApi.ListDataObjects

Retrieve a list of data objects from a specified collection. Use this tool to get a list of data objects from a particular collection by providing the collection name parameter. The objects are returned in reverse order of creation.

Parameters

ParameterTypeReq.Description
collection_namestringOptionalSpecifies the collection name to query objects from. If not provided, no objects will be returned.
include_additional_informationstringOptionalInclude additional information types such as `classification`, `vector`, or `interpretation`.
maximum_items_per_pageintegerOptionalThe maximum number of items to be returned per page. The default is 25 unless set otherwise as an environment variable.
query_start_indexintegerOptionalThe starting index for the result window. Retrieves `offset+limit` results and returns `limit` results from this index onward. Cannot be used with `after`. Should be used with `limit`.
sort_orderstringOptionalSpecify how to order the data within the sorted field(s). Use 'asc' for ascending and 'desc' for descending. Should match the order of fields used in `sort`. Multiple values should be separated by commas.
sort_propertiesstringOptionalNames of properties to sort by, e.g., 'city' or 'country,city'.
tenant_identifierstringOptionalSpecifies the tenant for requests targeting a multi-tenant collection (class).
threshold_uuid_afterstringOptionalA UUID to retrieve objects after, excluding this object. Use with `class` and `limit`. Leave empty for the start.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.list'.
#

WeaviateApi.ListDbUsers

Retrieve all database users and their roles and statuses. Use this tool to obtain a comprehensive list of all users within the database, along with detailed information about their roles and current status. This is useful for auditing and managing user permissions in the database.

Parameters

ParameterTypeReq.Description
include_last_used_timebooleanOptionalInclude the last time users were utilized in the response.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'listAllUsers'.
#

WeaviateApi.ListDistributedTasks

Retrieve all distributed tasks in the cluster. Use this tool to get an overview of all distributed tasks currently active or available within the cluster.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'distributedTasks.get'.
#

WeaviateApi.ListReplicationStatus

Retrieve registered replication operations and details. Call this tool to get information about current replication operations in Weaviate, filtered by collection, shard, or node ID if needed.

Parameters

ParameterTypeReq.Description
collection_namestringOptionalSpecify the name of the collection for which to retrieve replication details.
include_replication_historybooleanOptionalSet to true to include the history of the replication operation, false to exclude it.
shard_namestringOptionalThe specific shard for which to retrieve replication details.
target_node_namestringOptionalThe name of the target node to retrieve replication operation details for.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'listReplication'.
#

WeaviateApi.ReplaceObjectReferences

Replace existing references for an object in Weaviate. Use this tool to replace all current references of a specific property for an object in Weaviate. Specify the object's collection name, UUID, and the reference property to update. Useful for updating linked data within a dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalName of the collection the source object belongs to. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
source_object_uuidstringOptionalUnique UUID of the source object to identify it for reference replacement. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
reference_property_namestringOptionalUnique name of the reference property for the source object to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
consistency_levelstringOptionalDefines the required number of replica acknowledgements for request success. Only used when mode is 'execute'.
tenant_identifierstringOptionalSpecifies the tenant in a request targeting a multi-tenant collection (class). Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.references.put'.
#

WeaviateApi.ReplicateShardReplica

Initiates replication of a shard replica to a target node. This tool starts an asynchronous process to move or copy a specific shard replica from its current node to a specified target node. It handles data copying, synchronization, and may decommission the source replica.

Parameters

ParameterTypeReq.Description
shard_namestringRequiredThe name of the shard whose replica is to be moved or copied. Specify the shard to initiate the operation.
source_nodestringRequiredThe name of the Weaviate node currently hosting the shard replica to be moved or copied.
target_collection_namestringRequiredThe name of the collection to which the target shard belongs in the Weaviate database.
target_weaviate_nodestringRequiredName of the Weaviate node for creating the new shard replica during the operation.
replication_operation_typestringOptionalSpecifies whether to 'COPY' or 'MOVE' the shard replica. Defaults to 'COPY' if not provided.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'replicate'.
#

WeaviateApi.RestoreBackup

Restore collections from a specified backup. Initiates the restoration of collections from a backup stored on a designated backend. Ensure the target cluster has identical node configurations as the source cluster, and that the collections do not already exist on the target. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
backup_backend_storagestringOptionalSpecifies the backend storage system where the backup resides, such as `filesystem`, `gcs`, `s3`, or `azure`. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
backup_identifierstringOptionalThe unique identifier for the backup to restore. It must be URL-safe and compatible with filesystem paths, using only lowercase letters, numbers, underscores, and minus characters. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'backups.restore'.
#

WeaviateApi.RetrieveAliasDetails

Retrieve details about a specific alias by its name. Use this tool to obtain information about an alias, such as the collection (class) it points to, by specifying the alias name.

Parameters

ParameterTypeReq.Description
alias_namestringRequiredThe name of the alias to retrieve details for, including its associated collection.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'aliases.get.alias'.
#

WeaviateApi.RetrieveAliases

Retrieve all aliases from the system. Fetches a list of all aliases, with an option to filter by collection (class) name for specific aliases.

Parameters

ParameterTypeReq.Description
filter_by_collection_namestringOptionalOptional filter to retrieve aliases for a specific collection (class) only. If not provided, returns all aliases.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'aliases.get'.
#

WeaviateApi.RetrieveCollectionSchema

Retrieve the schema of a specified collection. Fetches the definition of a specific collection by `className`, detailing its properties, configuration, and vectorizer settings.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredThe name of the collection to retrieve the schema for.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.get'.
#

WeaviateApi.RetrieveDatabaseSchema

Retrieve definitions of all classes in the database schema. Use this tool to obtain the definitions of all collections (classes) currently present in the database schema. It provides a comprehensive overview of the database structure.

Parameters

No parameters required.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.dump'.
#

WeaviateApi.RetrieveGroupNames

Retrieve available group names for a specified type. This tool retrieves a list of all available group names for a specified group type, either 'oidc' or 'db'. Use it when you need to list groups of a certain type.

Parameters

ParameterTypeReq.Description
group_typestringRequiredSpecifies the group type to retrieve, either 'oidc' or 'db'.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'getGroups'.
#

WeaviateApi.RevokeRoleFromGroup

Revoke roles from a specified group to manage permissions. This tool allows the revocation of roles from a specified group, which is useful for managing and updating group permissions within a system using Weaviate.

Parameters

ParameterTypeReq.Description
group_namestringRequiredThe name of the group from which roles will be revoked.
group_typestringOptionalSpecifies whether the group contains OIDC or database users.
roles_to_revokearray<string>OptionalAn array of role names to revoke from the specified group.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'revokeRoleFromGroup'.
#

WeaviateApi.RevokeRolePermissions

Revoke permissions from a specified role. This tool is used to revoke permissions from a specified role in the Weaviate system. If all permissions are removed, the role will be deleted. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
role_namestringOptionalThe name of the role from which permissions are being revoked. Removing all permissions will delete the role. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'removePermissions'.
#

WeaviateApi.RevokeUserRole

Remove roles from a specified user in the system. Use this tool to revoke one or more roles assigned to a user by specifying their user ID. It's useful for updating user permissions in the system.

Parameters

ParameterTypeReq.Description
user_idstringRequiredThe unique identifier or name of the user from whom roles will be revoked.
roles_to_revokearray<string>OptionalA list of roles to be removed from the specified user. Provide each role as a string in the array.
user_typestringOptionalSpecify the user type: `db` for Weaviate-managed or `oidc` for external OIDC-managed users.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'revokeRoleFromUser'.
#

WeaviateApi.RotateUserApiKey

Revoke and regenerate the API key for a database user. This tool is used to revoke the current API key for a specified database user and generate a new one. It should be called when an API key needs refreshing or if security has been compromised.

Parameters

ParameterTypeReq.Description
database_user_namestringRequiredThe name of the database user for which the API key will be rotated.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'rotateUserApiKey'.
#

WeaviateApi.UpdateCollectionAlias

Redirect an alias to a different collection. Use this tool to update an existing alias so it points to a new collection. This allows alias redirection without changing its name.

Parameters

ParameterTypeReq.Description
alias_namestringRequiredThe name of the existing alias that you want to update to point to a new collection.
new_collection_namestringOptionalSpecify the new collection (class) for the alias to point to.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'aliases.update'.
#

WeaviateApi.UpdateCollectionSettings

Update settings of an existing collection. Use this tool to update the configuration settings of an existing collection by specifying the className and the new settings. This tool is useful when you need to change mutable settings of a collection but not its name or properties. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_name_to_updatestringOptionalThe name of the collection to be updated. Specify the collection's class name. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.update'.
#

WeaviateApi.UpdateDataObject

Update specific properties of a data object. This tool updates properties of an existing object in a specified collection using JSON merge patch semantics. The object is identified by its collection name and UUID. Use this to modify selected fields of a data object while ensuring validation and timestamp updates. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalSpecifies the name of the collection or class the object belongs to. This identifies where the object is stored. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
object_uuidstringOptionalUnique UUID of the object to be patched within the specified collection. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
consistency_levelstringOptionalSpecify the number of replicas that must acknowledge the request for success. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.patch'.
#

WeaviateApi.UpdateObjectProperties

Replace properties of a data object using its class and ID. This tool updates the properties of an existing object identified by its class name and UUID. The request must include the complete object definition with new values to replace the existing ones. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalThe name of the class (collection) to which the object belongs. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
object_uuidstringOptionalUnique UUID of the object to be replaced. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
required_replica_acknowledgementstringOptionalSpecifies how many replicas must acknowledge a request for it to be successful. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.class.put'.
#

WeaviateApi.UpdateShardStatus

Update the status of a specific shard in a collection. Use this tool to update the status of a specific shard within a Weaviate collection. It is typically used to change the shard's status to `READY` or `READONLY` after addressing issues that affected its operation.

Parameters

ParameterTypeReq.Description
collection_namestringRequiredThe name of the collection or class containing the shard to be updated.
shard_namestringRequiredThe specific name of the shard to update in the collection.
shard_statusstringOptionalThe status to set for the shard, such as 'READY' or 'READONLY'.

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'schema.objects.shards.update'.
#

WeaviateApi.UpdateTenantStatus

Update the activity status of specified tenants. This tool updates the activity status, such as `ACTIVE` or `INACTIVE`, of one or more specified tenants within a collection (specified by `className`). Use this tool to manage tenant statuses efficiently within your system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
collection_namestringOptionalThe name of the collection (class) containing the tenants whose status is to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'tenants.update'.
#

WeaviateApi.ValidateDataObjectStructure

Validate a data object's structure against the schema. Use this tool to check if a data object conforms to the specified collection schema and metadata rules without storing it. A successful validation returns a confirmation, while errors provide detailed feedback. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:WEAVIATE_API_KEYWEAVIATE_SERVER_URL

Output

Type:json— Response from the API endpoint 'objects.validate'.
Last updated on