Weaviate API
Tools that enable LLMs to interact directly with the weaviate API.
2.0.0Arcade 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_URLUse these secrets for authenticating and connecting to your Weaviate instance.
Available tools(81)
| Tool name | Description | Secrets | |
|---|---|---|---|
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 |
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
user_name | string | Required | The name of the database user to activate. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
role_id | string | Optional | The ID of the role to which new permissions will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | The 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_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
source_class_name | string | Optional | Name of the collection (class) the source object belongs to. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
source_object_uuid | string | Optional | Unique 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_name | string | Optional | Unique 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_level | string | Optional | Specifies the number of replicas that must acknowledge a request for it to be successful. Only used when mode is 'execute'. |
tenant_identifier | string | Optional | Specifies the tenant for multi-tenant collection requests in a Weaviate class. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
user_name | string | Required | The name or identifier of the user to assign roles to. |
assigned_roles | array<string> | Optional | List of roles to assign to the specified user. Each role should be a string. |
user_type | string | Optional | Specify the user type. Choose 'db' for Weaviate managed users or 'oidc' for users managed by an external OIDC provider. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
group_name | string | Required | The name of the group to which roles will be assigned. |
group_type | string | Optional | Indicate if the group contains OIDC or database users. Choose 'oidc' for OIDC users. |
roles_to_assign | array<string> | Optional | A list of roles to assign to a specified group. Each role is a string. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
consistency_level | string | Optional | Specifies the number of replicas needed to acknowledge a request for it to be deemed successful. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
consistency_level | string | Optional | Specifies how many replicas must confirm a request for it to be successful. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
backup_id | string | Required | The unique ID of the backup to delete. Must be URL-safe, using lowercase, numbers, underscores, and minus characters. |
storage_backend_system | string | Required | Specifies the backend storage system where the backup resides (e.g., 'filesystem', 'gcs', 's3', 'azure'). |
backup_subpath | string | Optional | Specifies the optional path within the storage if the backup is not at the root. |
specified_bucket_name | string | Optional | Specifies the bucket, container, or volume name if required by the backend storage system. Optional parameter. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
replication_operation_id | string | Required | The ID of the replication operation you wish to cancel. This is a string identifier for the specific operation. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
replication_operation_id | string | Required | The unique identifier of the replication operation to be canceled and deleted. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
backend_storage_system | string | Required | Specifies the backend storage system where the backup resides, such as 'filesystem', 'gcs', 's3', or 'azure'. |
backup_id | string | Required | The URL-safe unique identifier of the backup being restored. Use lowercase, numbers, underscores, and minus characters only. |
backup_bucket_name | string | Optional | Specifies the bucket, container, or volume name if required by the backend. |
bucket_path | string | Optional | Specifies the path within the bucket, optional based on backend requirements. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
backup_backend_system | string | Required | Specifies the backend storage system where the backup resides, such as 'filesystem', 'gcs', 's3', or 'azure'. |
backup_identifier | string | Required | The unique identifier of the backup. Use only lowercase, numbers, underscores, and minus characters. |
backup_storage_path | string | Optional | Specifies the path within the bucket/container/volume if the backup is not at the root. Optional. |
bucket_name | string | Optional | Specifies the bucket, container, or volume name if required by the backend. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
role_name | string | Optional | The name of the role to check permissions for. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
alias_name | string | Optional | The unique name of the alias, serving as an alternative identifier for the specified collection. |
collection_class_name | string | Optional | The name of the collection (class) to which the alias is mapped. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
backend_storage_system | string | Required | Specifies the backend storage system where the backup will be stored, such as `filesystem`, `gcs`, `s3`, or `azure`. |
backup_chunk_size | integer | Optional | Set the chunk size for the backup with a minimum of 2MB, default of 128MB, and a maximum of 512MB. |
backup_id | string | Optional | The ID of the backup. Must be URL-safe, using only lowercase, numbers, underscore, and minus characters. |
bucket_name | string | Optional | Name of the bucket, container, or volume where the backup will be stored. |
bucket_path | string | Optional | Specifies 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_backup | array<string> | Optional | List of collections to include in the backup. If not set, all collections are included. Cannot be used with `collections_to_exclude_in_backup`. |
compression_level | string | Optional | Specifies the compression level for the backup: DefaultCompression, BestSpeed, or BestCompression. |
cpu_utilization_percentage | integer | Optional | Sets desired CPU core utilization, ranging from 1% to 80%, during backup creation. |
exclude_collections | array<string> | Optional | List of collections to exclude from the backup. Overrides include if both are set. |
storage_endpoint_name | string | Optional | Name of the storage endpoint, such as s3.amazonaws.com, where the backup will be stored. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
user_name | string | Required | Specify the name for the new database user. It should be a string that identifies the user. |
disable_import_experimental | boolean | Optional | Set to true to prevent importing an API key from a static user. Experimental and will be removed. |
set_creation_time_experimental | string | Optional | EXPERIMENTAL: Set the given time as creation time. This will be removed in future versions. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
consistency_level_replica_acknowledgement | string | Optional | Specifies the number of replicas that must confirm the request for it to be successful. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | The name of the multi-tenant enabled collection for creating tenants. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
database_user_id | string | Required | The unique identifier for the database user to be deactivated. |
revoke_api_key | boolean | Optional | Revoke the user's API key when deactivating. Set to true to enable. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
alias_name | string | Required | The name of the alias to be deleted. This identifier specifies which alias mapping to remove from the system. |
Requirements
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
user_identifier | string | Required | Specify the name of the user you want to delete. This cannot be the current user. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | Name of the collection (class) the object belongs to. |
object_uuid | string | Required | Unique UUID of the object to be deleted from the collection. |
replica_acknowledgment_level | string | Optional | Specifies the number of replicas needed to confirm request success. |
tenant_identifier | string | Optional | Specifies the tenant when targeting a multi-tenant collection (class). |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
replica_acknowledgement_level | string | Optional | Specifies the number of replicas that must confirm the request for it to be deemed successful. Only used when mode is 'execute'. |
target_tenant | string | Optional | Specifies the tenant when targeting a multi-tenant collection. Use the tenant's unique identifier. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | Name 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_uuid | string | Optional | Unique 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_name | string | Optional | Unique 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_level | string | Optional | Specifies how many replicas must acknowledge the request for success. Only used when mode is 'execute'. |
tenant_identifier | string | Optional | Specifies the tenant in a request targeting a multi-tenant collection (class). Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
role_name | string | Required | Specify the name of the role to be deleted and revoked from users. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name_to_delete | string | Required | The name of the collection (class) that will be permanently deleted from the schema. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | The name of the collection from which to delete tenants. |
tenant_names_to_delete | array<string> | Required | An array of tenant names to permanently delete from the specified collection. |
Requirements
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
replication_operation_id | string | Required | The unique identifier for the replication operation to fetch details for. |
include_history | boolean | Optional | Set to true to include the history of the replication operation. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
role_name | string | Required | The name of the role to fetch details for. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Optional | The name of the collection to retrieve the sharding state for. |
target_shard | string | Optional | Specify the shard name to retrieve its sharding state in a collection. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Optional | The name of the collection associated with the shard being replicated. |
dry_run | boolean | Optional | When set to true, the operation simulates the deletion and returns the expected result without executing it. |
replication_operation_id | string | Optional | The unique identifier (ID) of the replication operation to be forcefully deleted. |
shard_identifier | string | Optional | The unique identifier of the shard involved in the replication operations. |
target_node_name | string | Optional | The name of the target node where replication operations are registered. |
Requirements
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
classification_task_id | string | Required | The unique identifier (UUID) of the classification task to retrieve its status and results. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
output_verbosity | string | Optional | Controls the verbosity of the output for node status information. Accepted values: `minimal`, `verbose`. Defaults to `minimal`. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | The name of the collection (class) whose shards to query. |
tenant_name | string | Optional | The name of the tenant for retrieving shard statuses, applicable only for multi-tenant collections. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | The name of the collection (class) whose tenants to list. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
database_user_name | string | Required | The unique identifier or name of the database user to retrieve information for. |
include_last_used_time | boolean | Optional | Set to true to include the last used time in the user's information. |
Requirements
Output
json— Response from the API endpoint 'getUserInfo'.WeaviateApi.GetDataObject
Retrieve a data object using collection name and UUID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | Name of the collection (class) the object belongs to. |
object_uuid | string | Required | Unique UUID of the object to be retrieved from the specified collection. |
include_additional_information | string | Optional | Specify additional info to include: `classification`, `vector`, or `interpretation`. |
required_replica_acknowledgment | string | Optional | Specifies how many replicas must confirm a request for success. Relates to consistency level. |
target_node_name | string | Optional | Specify the target node to fulfill the request. |
tenant_identifier | string | Optional | Specify the tenant for a multi-tenant collection request. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
role_name | string | Required | The unique name of the role to retrieve associated groups. |
Requirements
Output
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
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
group_name | string | Required | The unique name of the group to retrieve roles for. |
group_type | string | Required | Specifies the type of the group, either 'db' or 'oidc'. |
include_full_role_definitions | boolean | Optional | Include full role definitions with all permissions if true; return only role names if false. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_class_name | string | Required | The name of the collection (class) for which to retrieve node status. |
output_verbosity | string | Optional | Set the verbosity of the output. Possible values: 'minimal', 'verbose'. Defaults to 'minimal'. |
shard_name | string | Optional | Specifies 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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | The name of the collection (class) that contains the tenant. |
tenant_name | string | Required | The name of the tenant to retrieve details about within the specified collection. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
user_id | string | Required | The unique name or identifier of the user for whom roles are being retrieved. |
user_type | string | Required | Specify the user type: 'oidc' for OpenID Connect or 'db' for database. |
include_detailed_role_information | boolean | Optional | Set to true to include detailed role information like assigned permissions. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
role_id | string | Required | The unique identifier for the role to fetch associated users. |
Requirements
Output
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
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
backend_storage_system | string | Required | Specifies the backend storage system to list backups from (e.g., `filesystem`, `gcs`, `s3`, `azure`). |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Optional | Specifies the collection name to query objects from. If not provided, no objects will be returned. |
include_additional_information | string | Optional | Include additional information types such as `classification`, `vector`, or `interpretation`. |
maximum_items_per_page | integer | Optional | The maximum number of items to be returned per page. The default is 25 unless set otherwise as an environment variable. |
query_start_index | integer | Optional | The 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_order | string | Optional | Specify 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_properties | string | Optional | Names of properties to sort by, e.g., 'city' or 'country,city'. |
tenant_identifier | string | Optional | Specifies the tenant for requests targeting a multi-tenant collection (class). |
threshold_uuid_after | string | Optional | A UUID to retrieve objects after, excluding this object. Use with `class` and `limit`. Leave empty for the start. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
include_last_used_time | boolean | Optional | Include the last time users were utilized in the response. |
Requirements
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Optional | Specify the name of the collection for which to retrieve replication details. |
include_replication_history | boolean | Optional | Set to true to include the history of the replication operation, false to exclude it. |
shard_name | string | Optional | The specific shard for which to retrieve replication details. |
target_node_name | string | Optional | The name of the target node to retrieve replication operation details for. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | Name of the collection the source object belongs to. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
source_object_uuid | string | Optional | Unique 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_name | string | Optional | Unique name of the reference property for the source object to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
consistency_level | string | Optional | Defines the required number of replica acknowledgements for request success. Only used when mode is 'execute'. |
tenant_identifier | string | Optional | Specifies the tenant in a request targeting a multi-tenant collection (class). Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
shard_name | string | Required | The name of the shard whose replica is to be moved or copied. Specify the shard to initiate the operation. |
source_node | string | Required | The name of the Weaviate node currently hosting the shard replica to be moved or copied. |
target_collection_name | string | Required | The name of the collection to which the target shard belongs in the Weaviate database. |
target_weaviate_node | string | Required | Name of the Weaviate node for creating the new shard replica during the operation. |
replication_operation_type | string | Optional | Specifies whether to 'COPY' or 'MOVE' the shard replica. Defaults to 'COPY' if not provided. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
backup_backend_storage | string | Optional | Specifies 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_identifier | string | Optional | The 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_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
alias_name | string | Required | The name of the alias to retrieve details for, including its associated collection. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
filter_by_collection_name | string | Optional | Optional filter to retrieve aliases for a specific collection (class) only. If not provided, returns all aliases. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | The name of the collection to retrieve the schema for. |
Requirements
Output
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
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
group_type | string | Required | Specifies the group type to retrieve, either 'oidc' or 'db'. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
group_name | string | Required | The name of the group from which roles will be revoked. |
group_type | string | Optional | Specifies whether the group contains OIDC or database users. |
roles_to_revoke | array<string> | Optional | An array of role names to revoke from the specified group. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
role_name | string | Optional | The 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_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
user_id | string | Required | The unique identifier or name of the user from whom roles will be revoked. |
roles_to_revoke | array<string> | Optional | A list of roles to be removed from the specified user. Provide each role as a string in the array. |
user_type | string | Optional | Specify the user type: `db` for Weaviate-managed or `oidc` for external OIDC-managed users. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
database_user_name | string | Required | The name of the database user for which the API key will be rotated. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
alias_name | string | Required | The name of the existing alias that you want to update to point to a new collection. |
new_collection_name | string | Optional | Specify the new collection (class) for the alias to point to. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name_to_update | string | Optional | The 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_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | Specifies 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_uuid | string | Optional | Unique UUID of the object to be patched within the specified collection. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
consistency_level | string | Optional | Specify the number of replicas that must acknowledge the request for success. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | The name of the class (collection) to which the object belongs. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
object_uuid | string | Optional | Unique UUID of the object to be replaced. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
required_replica_acknowledgement | string | Optional | Specifies how many replicas must acknowledge a request for it to be successful. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
collection_name | string | Required | The name of the collection or class containing the shard to be updated. |
shard_name | string | Required | The specific name of the shard to update in the collection. |
shard_status | string | Optional | The status to set for the shard, such as 'READY' or 'READONLY'. |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
collection_name | string | Optional | The 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_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'objects.validate'.