create_file
create_file
: Create Empty File
create_file
: Create Empty FileCreates a new empty file at the specified path.
def create_file(
agent_name: str,
file_path: str,
base_url: str = aios_kernel_url
) -> StorageResponse
Parameters:
agent_name
: Identifier for the agent making the requestfile_path
: Path where the new file should be createdbase_url
: API endpoint URL
Returns:
StorageResponse
object containing creation status
Example:
# Create a new Python script file
response = create_file(
"developer_agent",
"projects/data_analyzer/main.py"
)
print(response["response"]["response_message"]
Last updated