Custom connector input parameter : document

i want to give document as input parameter of my custom connector .
how can i do it . ?

any one ?
it would be appreciable