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
) -> StorageResponse
Parameters:
agent_name
: Identifier for the agent making the requestdir_path
: Path where the new directory should be createdbase_url
: API endpoint URL
Returns:
StorageResponse
object 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