invoicing_getAvailableCreditsForParty

READ

Get available credits for party.

Parameters

partyanyrequired
// When editing a Draft payment's composeranyrequired
that payment's own staged credits // should NOT count as used — they show as stagedanyrequired
not consumed. excludePaymentIdstringoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "invoicing_getAvailableCreditsForParty",
  "arguments": {
    "party": "string",
    "// When editing a Draft payment's composer": "string",
    "that payment's own staged credits\n  // should NOT count as used — they show as staged": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "party": {},
    "// When editing a Draft payment's composer": {},
    "that payment's own staged credits\n  // should NOT count as used — they show as staged": {},
    "not consumed.\n  excludePaymentId": {
      "type": "string"
    }
  },
  "required": [
    "party",
    "// When editing a Draft payment's composer",
    "that payment's own staged credits\n  // should NOT count as used — they show as staged"
  ]
}