Skip to main content
Import a file from a connected external provider into the project’s GCS storage. The file will be available for the knowledge base pipeline to process. Use list_external_files first to find file IDs.

Tool details

FieldValue
Nameimport_external_file
GroupExternal Storage

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "provider": {
      "type": "string",
      "description": "Cloud provider name"
    },
    "file_id": {
      "type": "string",
      "description": "File ID from list_external_files"
    },
    "base_path": {
      "type": "string",
      "description": "Destination folder path prefix in GCS (e.g., \"my-docs\"\"my-docs/{filename}\"). Defaults to \"external-imports/{filename}\"."
    }
  },
  "required": [
    "project_reference",
    "provider",
    "file_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the import_external_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Agent-readable status message or rendered content for the external storage operation."
    }
  },
  "required": [
    "message"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the import_external_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}