Skip to content

Conversation

@stlalpha
Copy link

Summary

Token Efficiency Improvements

  • list_workflows now returns summary only (id, name, active, tags, nodeCount) instead of full workflow JSON
  • Added list_workflows_full for when complete data is needed
  • activate_workflow, deactivate_workflow, execute_workflow return minimal confirmation instead of full workflow dump
  • Added granular update tools that do server-side fetch-modify-save:
    • update_workflow_name
    • add_node
    • update_node
    • update_node_from_file (for large SQL/code)
    • remove_node
    • connect_nodes
    • disconnect_nodes
    • update_workflow_settings
  • Added download_workflow to save to file without chat output
  • Added upload_workflow to create from local JSON file

Bug Fixes

  • Fixed 400 "additional properties not allowed" error by stripping workflow to only PUT-allowed fields (name, nodes, connections, settings, staticData)
  • Fixed 400 "tags is read-only" error by removing tags from update payload
  • Added detailed error messages showing actual n8n API response

Test plan

  • Tested list_workflows returns summary
  • Tested update_node_from_file with large SQL file
  • Tested activate_workflow returns minimal response
  • Verified 400 errors are resolved

Bumps version to 0.11.0 with 34 tools total.

Fixes makafeli#15, Fixes makafeli#18

## Token Efficiency Improvements

- list_workflows now returns summary only (id, name, active, tags, nodeCount)
  instead of full workflow JSON - prevents context overflow
- Added list_workflows_full for when complete data is needed
- activate/deactivate/execute_workflow return minimal confirmation instead of
  full workflow dump
- Added granular update tools that do server-side fetch-modify-save:
  - update_workflow_name
  - add_node
  - update_node
  - update_node_from_file (for large SQL/code)
  - remove_node
  - connect_nodes
  - disconnect_nodes
  - update_workflow_settings
- Added download_workflow to save to file without chat output
- Added upload_workflow to create from local JSON file

## Bug Fixes

- Fixed 400 "additional properties not allowed" error by stripping workflow
  to only PUT-allowed fields (name, nodes, connections, settings, staticData)
- Fixed 400 "tags is read-only" error by removing tags from update payload
- Added detailed error messages showing actual n8n API response

Bumps version to 0.11.0 with 34 tools total.
@stlalpha stlalpha force-pushed the feat/token-efficient-tools branch from b7ae160 to 7f4576d Compare November 28, 2025 04:32
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.

[Server Bug] @makafeli/n8n-workflow-builder 400 Error on write operations

1 participant