> For the complete documentation index, see [llms.txt](https://docs.neuroinfodb.org/squirrel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neuroinfodb.org/squirrel/specifications/specification-v1.0/data/subjects/studies/series/params.md). Agents can also search and read this documentation through its [MCP server](https://docs.neuroinfodb.org/squirrel/~gitbook/mcp).

# params

Separate JSON file - params.json

Series collection parameters are stored in a separate JSON file called `params.json` stored in the series directory. The JSON object is an array of key-value pairs. This can be used to store data collection parameters.

All DICOM tags are acceptable parameters. See this list for available DICOM tags <https://exiftool.org/TagNames/DICOM.html>. Variable keys can be either the hexadecimal format (ID) or string format (Name). For example `0018:1030` or `ProtocolName`. The params object contains any number of key/value pairs.

<figure><img src="https://mermaid.ink/img/pako:eNqVlFFrgzAQx7-KpAgKOrrRvTjo0_Yyxgbr2_Dlas6aVY0kcauUfvclamy1HbR9MPfP_f5eckfdk4RTJBHZCKgy5-0zLh39E5wr73X18d5GfhguKSjwzMN_OiJ6v4JkCxv0-nWaZRXmrETpDdGEwF2FghVYKumdxBPKFA4pSxTjJYjGm2i_g9vdcLkRvK6ghLyRunCrHCvte3tU1utvTHRpG9i81YZRNWX6Rf16geBrieIHzGGkdyousKxUOq2v2MIjNdBdIVNat8NUbpfzdHcpJj0bDEhrCO_MeAQUMmW5mZAJLdI9XfeImpYYUI7G7LonUzHYUXbwUTvthm99w8Tbc_Si81g1cdhrGIONO4NVI8NwBdXk6AzHN0wezdI0DXSvBN9iSEFmIAQ00cPYNKpyi3HShVuso1ZcY5zYh4le4_3Xg4_zeXDu6rei2WKxsOlfRlUW3Vc7EpACRQGM6g_G3hSIicqwwJhEOqSYQp2rmMTlQaN1pUeCL5QpLkiUQi4xIFArvmrKhERK1GihZwb6-1MMlP73fnFu9eEPqquZ5w?type=png" alt=""><figcaption></figcaption></figure>

### JSON variables

<table data-full-width="true"><thead><tr><th width="137.4">Variable</th><th width="345">Description</th><th width="366">Example</th></tr></thead><tbody><tr><td><em>{Key:Value}</em></td><td>A unique key, sometimes derived from the DICOM header</td><td>Protocol, T1w<br>FieldStrength, 3.0</td></tr></tbody></table>

### Directory structure

Files associated with this section are stored in the following directory. `subjectID`, `studyNum`, `seriesNum` are the actual subject ID, study number, and series number. For example `/data/S1234ABC/1/1`.

> `/data/<SubjectID>/<StudyNum>/<SeriesNum>/params.json`


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.neuroinfodb.org/squirrel/specifications/specification-v1.0/data/subjects/studies/series/params.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
