Get Field Structure
Description
Returns the tenant-configured field structure for one of the primary data models (Asset, Project, Project Reporting, Project Summary, Vulnerability, Writeup, Project Request, Testcase, Project Testcase, User, Group). The response lists every system and custom field the tenant has enabled on that model, grouped into named sections where the UI defines them, along with each field's key, label, required flag, info text, and - for custom fields - an access level (view or edit) and a usage_hints string describing how to format the value.
Use this before: (a) requesting custom fields on find_* / count_* tools via custom_field_keys (you need the keys from here), or (b) constructing args for create_* / patch_* tools when you want to understand which custom fields exist and how to populate them.
How To Enable
Go to
UsersSelect the user you would like to provide access to this tool
Click on
Access > MCPClick on
Add ToolsSelect the tool
get_field_structureand clickAdd
Example Prompts
Show me what fields are available on vulnerabilities.
What custom fields are configured on the project data model?
Show me the field structure for assets.
What are all the available fields on writeups?
Which custom field keys can I use to query vulnerabilities?
What fields are configured on project requests?
Which custom fields are configured on users?
Which custom fields are configured on groups?
Parameters
model
string
Yes
The data model whose field structure is required. One of asset, project, project-reporting, project-summary, vulnerability, writeup, project-request, testcase, project-testcase, user, group.
Notes:
assetis only meaningful when the Assets module is enabled (returns an empty structure otherwise). Use it beforefind_assets,find_affected_assets,find_project_scope,count_assets,count_project_scope(Project Scope and Affected Assets inherit Asset custom fields).project-reportingdescribes the project reporting page - the reporting custom fields that accompany the executive summary. Use it beforefind_project_reporting_fieldsandpatch_project_reporting_fieldsto discover thecustom_field_keysyou can read or write.project-summarydescribes the project summary page custom fields, a set distinct fromprojectandproject-reporting. Use it beforefind_project_summary_fieldsandpatch_project_summary_fields.project-requestis only meaningful when project requests are enabled (frontend.enable_project_requests).testcasedescribes library test cases - the reusable methodology that makes up a testsuite. Use it beforefind_testcases,count_testcases,create_testcase,patch_testcase.project-testcasedescribes the per-project instances of those test cases, and carries a different set of custom fields totestcase. Use it beforefind_project_testcases,count_project_testcases,patch_project_testcase, andcreate_abuse_case(whosecustom_fieldsare set on the project test case, not on the abuse case itself).userdescribes the user custom fields. Use it beforefind_users,count_users,create_userandpatch_user. Only keys configured to display in tables are accepted in afind_users/count_usersfilter.groupdescribes the group custom fields. Use it beforefind_groups,count_groups,create_groupandpatch_group.
Example Response
Last updated