import type { Form } from '@/editor/types'

export const TOOL_FORM: Form = {
  name: {
    label: 'Name',
    tooltip: '',
  },
  category: {
    label: 'Category',
    tooltip: '',
    optional: true,
  },
  tooltip: {
    label: 'Tooltip description',
    tooltip: '',
    optional: true,
  },
  hint: {
    label: 'Hint',
    tooltip: '',
    optional: true,
  },
  defaultResponse: {
    label: 'Default response',
    tooltip: '',
  },
}

export const TOOL_RESPONSE_FORM: Form = {
  tool: {
    label: 'Tool',
    tooltip: '',
  },
  parameter: {
    label: 'Parameter',
    tooltip: '',
  },
  isRegex: {
    label: 'Is parameter regex?',
    tooltip: '',
    optional: true,
  },
  response: {
    label: 'Response',
    tooltip: '',
    optional: true,
  },
  file: {
    label: 'File',
    tooltip: '',
    optional: true,
  },
}

export const TOOL_RESPONSE_CONNECTIONS_FORM: Form = {
  time: {
    label: 'Time',
    tooltip: '',
    optional: true,
  },
  condition: {
    label: 'Condition',
    tooltip: '',
    optional: true,
  },
}
