# Dictionary Nodes

Dynamo 2.0 exposes a variety of Dictionary nodes for our use. This includes *create, action, and query* nodes.

![](/files/m3lJ2B4Wfd6xkHMypjkg)

#### Create

1.`Dictionary.ByKeysValues` will create a dictionary with the supplied values and keys. *(The number of entries will be whatever the shortest list input is)*

#### Action

2\. `Dictionary.Components` will produce the components of the input dictionary. *(This is the reverse of the create node.)*

3\. `Dictionary.RemoveKeys` will produce a new dictionary object with the input keys removed.

4\. `Dictionary.SetValueAtKeys` will produce a new dictionary based on the input keys and the values to replace the current value at the corresponding keys.

5\. `Dictionary.ValueAtKey` will return the value at the input key.

#### Query

6\. `Dictionary.Count` will tell you how many key value pairs are in the dictionary.

7\. `Dictionary.Keys` will return what keys are currently stored in the dictionary.

8\. `Dictionary.Values` will return what values are currently stored in the dictionary.

Overall relating data with dictionaries is a magnificent alternative to the old method of working with indices and lists.


---

# 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://primer2.dynamobim.org/5_essential_nodes_and_concepts/5-5_dictionaries-in-dynamo/2-node-uses.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.
