create_dir
create_dir: Create Directory
create_dir: Create DirectoryCreates a new directory at the specified path.
def create_dir(
agent_name: str,
dir_path: str,
base_url: str = aios_kernel_url
) -> StorageResponseParameters:
agent_name: Identifier for the agent making the requestdir_path: Path where the new directory should be createdbase_url: API endpoint URL
Returns:
StorageResponseobject containing creation status
Example:
# Create a project directory structure
response = create_dir(
"project_manager",
"projects/new_webapp/src"
)
print(response["response"]["response_message"])Last updated