Commit 7382aa7
Fix swot_item MCP tool using wrong field names
The swot_item tool had field names that didn't match the SwotItem model:
- type → quadrant
- title → (removed, doesn't exist on model)
- impact → impact_level
- priority → (removed, doesn't exist on model)
- analysis_id → swot_analysis_id
- reference → (removed, SwotItem doesn't inherit BaseModel)
This made create/update/list operations non-functional for SWOT items.
https://claude.ai/code/session_01Pp4xLFJ2t2zJui42GTUNNL1 parent ed09e02 commit 7382aa7
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
425 | | - | |
426 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
430 | 431 | | |
431 | | - | |
432 | | - | |
| 432 | + | |
| 433 | + | |
433 | 434 | | |
434 | | - | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
435 | 441 | | |
436 | 442 | | |
437 | 443 | | |
| |||
0 commit comments