Charles Schwab · Capability

Charles Schwab Trader API — User Preferences

Charles Schwab Trader API — User Preferences. 1 operations. Lead operation: Get the authenticated user preferences. Self-contained Naftiko capability covering one Charles Schwab business surface.

Run with Naftiko Charles SchwabUser Preferences

What You Can Do

GET
Getuserpreference — Get the authenticated user preferences
/v1/userpreference

MCP Tools

get-authenticated-user-preferences

Get the authenticated user preferences

read-only idempotent

Capability Spec

trader-user-preferences.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Charles Schwab Trader API — User Preferences
  description: 'Charles Schwab Trader API — User Preferences. 1 operations. Lead operation: Get the authenticated user preferences.
    Self-contained Naftiko capability covering one Charles Schwab business surface.'
  tags:
  - Charles Schwab
  - User Preferences
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHARLES_SCHWAB_API_KEY: CHARLES_SCHWAB_API_KEY
capability:
  consumes:
  - type: http
    namespace: trader-user-preferences
    baseUri: https://api.schwabapi.com/trader/v1
    description: Charles Schwab Trader API — User Preferences business capability. Self-contained, no shared references.
    resources:
    - name: userPreference
      path: /userPreference
      operations:
      - name: getuserpreference
        method: GET
        description: Get the authenticated user preferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CHARLES_SCHWAB_API_KEY}}'
  exposes:
  - type: rest
    namespace: trader-user-preferences-rest
    port: 8080
    description: REST adapter for Charles Schwab Trader API — User Preferences. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/userpreference
      name: userpreference
      description: REST surface for userPreference.
      operations:
      - method: GET
        name: getuserpreference
        description: Get the authenticated user preferences
        call: trader-user-preferences.getuserpreference
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: trader-user-preferences-mcp
    port: 9090
    transport: http
    description: MCP adapter for Charles Schwab Trader API — User Preferences. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-authenticated-user-preferences
      description: Get the authenticated user preferences
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: trader-user-preferences.getuserpreference
      outputParameters:
      - type: object
        mapping: $.