# object.retrieve

Retrieve a C structure from the idb or a buffer and convert it into an object typeinfo - description of the C structure. Can be specified as a declaration string or result of [get\_tinfo](/9.0sp1/developer-guide/idc/idc-api-reference/alphabetical-list-of-idc-functions/1533.md)() or similar functions src - address (ea) to retrieve the C structure from OR a string buffer previously packed with the store method flags - combination of [PIO\_...](/9.0sp1/developer-guide/idc/idc-api-reference/alphabetical-list-of-idc-functions/1574.md) bits

void object.retrieve(typeinfo, src, flags);


---

# 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.hex-rays.com/9.0sp1/developer-guide/idc/idc-api-reference/alphabetical-list-of-idc-functions/1575.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.
