# 9.1 Defining traits

Traits are defined with the define-trait function, which takes a trait name as a parameter followed by a series of function signatures in short form. These function signatures differ from those used to define a custom function in that they only include the name, input types, and output types, omitting argument names as they are not essential for functionality. When performing a contract call, you pass a list of parameters without specifying the argument names themselves. Only the order and types are important.


---

# 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://base-tech.gitbook.io/base/9.-traits/9.1-defining-traits.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.
