Skip to content

feat: add fields parameter to list_records tool#110

Open
ErnestHysa wants to merge 1 commit into
domdomegg:masterfrom
ErnestHysa:add-fields-param-to-list-records
Open

feat: add fields parameter to list_records tool#110
ErnestHysa wants to merge 1 commit into
domdomegg:masterfrom
ErnestHysa:add-fields-param-to-list-records

Conversation

@ErnestHysa

Copy link
Copy Markdown

Fixes #75

Exposes the fields[] API parameter to the list_records tool so agents can specify which fields to retrieve, avoiding the cost of fetching all fields on tables with many linked/lookup fields.

Files modified:

  • src/types.ts: added fields to schema and type
  • src/airtableService.ts: added fields param to API call
  • src/tools/list-records.ts: added fields to inputSchema

Fixes domdomegg#75

Exposes the fields[] API parameter to the list_records tool so
agents can specify which fields to retrieve, avoiding the cost
of fetching all fields on tables with many linked/lookup fields.
@domdomegg

Copy link
Copy Markdown
Owner

Thanks! Can you update the e2e test to show it working as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow record retrieval tools to utilize fields API param to conserve context

2 participants