# create\_dir

#### `create_dir`: Create Directory

Creates a new directory at the specified path.

```python
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 request
* `dir_path`: Path where the new directory should be created
* `base_url`: API endpoint URL

**Returns:**

* `StorageResponse` object containing creation status

**Example:**

```python
# Create a project directory structure
response = create_dir(
    "project_manager",
    "projects/new_webapp/src"
)

print(response["response"]["response_message"])
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aios.foundation/aios-docs/aios-agent-sdk/storage-api/create_dir.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
