> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/ida-9.2/user-guide/decompiler/interactive/cmd_adddel_rettype.md).

# Add/delete function return type

Hotkey: Ctrl-Shift-R

This command removes the return type from the function prototype. It is applied to the prototype of the current function.

It is available anywhere in the pseudocode window, regardless where exactly the cursor is positioned. This command is not visible in the context sensitive popup menu.

If applied to a function without the return type, it will add the previously removed return type to the function prototype.

This command is available starting from v7.5.

See also: [interactive operation](/ida-9.2/user-guide/decompiler/interactive.md), [Del function argument](/ida-9.2/user-guide/decompiler/interactive/cmd_delarg.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.hex-rays.com/ida-9.2/user-guide/decompiler/interactive/cmd_adddel_rettype.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.
