# methodParameter

Parameter definition for an API method.

### Examples

```graphql
type MethodParameter {
  description: String
  in: String
  name: String
  required: Boolean
}
```

### Fields

| Field                | Description                                           | Supported fields |
| -------------------- | ----------------------------------------------------- | ---------------- |
| description `String` | Description of what this parameter is used for        |                  |
| in `String`          | Location of the parameter (query, path, header, body) |                  |
| name `String`        | Name of the parameter                                 |                  |
| required `Boolean`   | Whether this parameter is required for the API call   |                  |

### References

#### Fields with this object:

* [{} ApiSecurityItem.methodParameters](/api-documentation/api-reference/api--api-security/types/objects/api-security-item.md)


---

# 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.ox.security/api-documentation/api-reference/api--api-security/types/objects/method-parameter.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.
