# Functions on objects (FOO) Functions in Foundry natively support accessing and modifying data from objects and links in the Ontology. After defining object and link types in the Ontology, you can import these types into a functions repository to have code bindings automatically generated. These code bindings include support for: * Passing object and object set types into a function as [parameters](../types-reference/index.md#ontology-types) * Searching for object sets on demand * Modifying objects using [Ontology edits](../edits-overview/index.md) Because of this native support for the Ontology, functions in Foundry go far beyond commonly used Functions-as-a-Service (FaaS) platforms by providing native support for data storage, retrieval, and modification—all subject to Foundry's guarantees for data security, lineage, and transparency. The term "functions on objects" (sometimes referred to as "FOO") is used loosely to refer to functions that read object data, either as a parameter or using an object search, but there is no formal notion of a "function on objects" in Foundry as being distinct from any other function. ## Object APIs by language The API you use to read objects depends on the language your function is written in: * TypeScript v1 functions search objects with the `Objects.search()` API exported from the `@foundry/ontology-api` package. Review [Object sets (TSv1)](../api-object-sets/index.md) and [Objects and links (TSv1)](../api-objects-links/index.md). * TypeScript v2 functions query the Ontology through the [Ontology SDK](../../ontology-sdk/overview/index.md) client. Review [Getting started with TypeScript v2 functions](../typescript-v2-getting-started/index.md), then the [TypeScript OSDK reference](../../ontology-sdk/typescript-osdk/index.md) for the full query vocabulary. * Python functions query the Ontology through the [Ontology SDK](../../ontology-sdk/overview/index.md) client. Review [Functions on objects in Python](../python-functions-on-objects/index.md), then the [Python OSDK reference](../../ontology-sdk/python-osdk/index.md). If you have not yet chosen a language, review [Feature support by language](../language-feature-support/index.md) and [TypeScript v1 compared to TypeScript v2](../language-feature-support/index.md#typescript-v1-vs-typescript-v2). [Learn how to get started with functions on objects.](../foo-getting-started/index.md)