Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions inc/Api/Chat/Tools/ConfigureFlowSteps.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ public function __construct() {
* @return array Tool definition array
*/
public function getToolDefinition(): array {
$handler_docs = HandlerDocumentation::buildAllHandlersSections();

$description = 'Configure flow steps with handlers or AI user messages. REQUIRES EXPLICIT TARGETING to prevent accidental bulk updates.' . "\n\n"
. 'SELECTION MODES (all explicit):' . "\n"
. '1. By flow_step_id: flow_step_id="18_abc_138" (single) or flow_step_ids=["18_abc_138","18_abc_137"] (multiple)' . "\n"
Expand All @@ -49,9 +47,9 @@ public function getToolDefinition(): array {
. '- flow_configs: [{flow_id: 9, handler_config: {source_url: "..."}}]' . "\n"
. '- Per-flow config merges with shared handler_config (per-flow takes precedence)' . "\n\n"
. 'BEFORE CONFIGURING:' . "\n"
. '- Use get_handler_defaults or api_query (/datamachine/v1/handlers/{slug}) to discover available handlers and their config fields' . "\n"
. '- Query existing flows to learn established patterns' . "\n"
. '- Only use handler_config fields documented below - unknown fields are rejected' . "\n\n"
. $handler_docs;
. '- Only use handler_config fields returned by discovery - unknown fields are rejected';

return array(
'class' => self::class,
Expand Down
264 changes: 0 additions & 264 deletions inc/Api/Chat/Tools/HandlerDocumentation.php

This file was deleted.

Loading