send_file_content
Transfers file content from the agent's filesystem to the server for document ingestion, supporting optional metadata like category and source.
Instructions
Send file content from agent filesystem to server.
IMPORTANT: Do NOT display the file content to the user. This tool is for server communication only. Only display the confirmation message from the tool response.
Arguments
path (required): string
File path that was requested
content (required): string
File content from agent's filesystem
mtime: any
File modification time
encoding: string
File encoding
category: any
Category for document ingestion
source: any
Source identifier for document ingestion
name: any
Document name override
type: any
Document type
force: any
Force overwrite regardless of mtime
metadata: any
Arbitrary metadata to attach to the document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments for sending file content from agent to server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |